account_invoice.xml 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0"?>
  2. <openerp>
  3. <data>
  4. <record id="view_expense_search22" model="ir.ui.view">
  5. <field name="name">view_expense_search22</field>
  6. <field name="model">account.invoice</field>
  7. <field name="inherit_id" ref="account.view_account_invoice_filter" />
  8. <field name="arch" type="xml">
  9. <search>
  10. <separator/>
  11. <group string="">
  12. <filter string="Piezas" context="{'group_by':'product_id'}"/>
  13. </group>
  14. </search>
  15. </field>
  16. </record>
  17. <record id="supplier_form_inherit22" model="ir.ui.view">
  18. <field name="name">supplier_form_inherit22</field>
  19. <field name="model">account.invoice</field>
  20. <field name="inherit_id" ref="account.invoice_supplier_form"/>
  21. <field name="arch" type="xml">
  22. <field name="supplier_invoice_number" position="after">
  23. <field name="product_id" domain="[('sale_ok', '=', 'true')]"/>
  24. </field>
  25. </field>
  26. </record>
  27. </data>
  28. </openerp>