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
996 B

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