You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
1.0 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.ui.view" id="cash_box_in_form">
  5. <field name="name">cash.box.in.form</field>
  6. <field name="model">cash.box.in</field>
  7. <field name="inherit_id" ref="account.cash_box_in_form" />
  8. <field name="arch" type="xml">
  9. <xpath expr="//field[@name='name']" position="before">
  10. <field name="product_id" required="1" class="oe_inline" />
  11. </xpath>
  12. </field>
  13. </record>
  14. <record model="ir.ui.view" id="cash_box_out_form">
  15. <field name="name">cash.box.out.form</field>
  16. <field name="model">cash.box.out</field>
  17. <field name="inherit_id" ref="account.cash_box_out_form" />
  18. <field name="arch" type="xml">
  19. <xpath expr="//field[@name='name']" position="before">
  20. <field name="product_id" required="1" class="oe_inline"/>
  21. </xpath>
  22. </field>
  23. </record>
  24. </data>
  25. </openerp>