pos_view.xml 930 B

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.ui.view" id="view_pos_config_form">
  5. <field name="name">POS Multi-Currency</field>
  6. <field name="model">pos.config</field>
  7. <field name="inherit_id" ref="point_of_sale.view_pos_config_form"/>
  8. <field name="arch" type="xml">
  9. <xpath expr="//group[@string='Features']" position="before">
  10. <group string="Multi-Currency Options">
  11. <group>
  12. <field name="multi_currency_enable" />
  13. <field name="display_conversion" />
  14. </group>
  15. <group>
  16. <field name="fetch_master" string="Fetch All Values from Currency Master" />
  17. </group>
  18. </group>
  19. <field name="currency_lines" attrs="{'invisible':[('fetch_master','=',True)]}">
  20. <tree editable="bottom">
  21. <field name="currency_id" />
  22. <field name="rate_silent" />
  23. </tree>
  24. </field>
  25. </xpath>
  26. </field>
  27. </record>
  28. </data>
  29. </openerp>