views.xml 1013 B

123456789101112131415161718192021222324252627
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <!-- sale.order -->
  5. <record id="views_eiru_sale_pay_date" model="ir.ui.view">
  6. <field name="name">eiru.sale.pay.date</field>
  7. <field name="model">account.invoice</field>
  8. <field name="inherit_id" ref="account.invoice_form"/>
  9. <field name="arch" type="xml">
  10. <field name="date_invoice" position="after">
  11. <field name="date_pay"/>
  12. </field>
  13. </field>
  14. </record>
  15. <!-- Model: account.invoice -->
  16. <record id="view_form_eiru_sale_pay_date" model="ir.ui.view">
  17. <field name="model">account.invoice</field>
  18. <field name="inherit_id" ref="account.invoice_tree"/>
  19. <field name="arch" type="xml">
  20. <xpath expr="//field[@name='date_invoice']" position="after">
  21. <field name="date_pay"/>
  22. </xpath>
  23. </field>
  24. </record>
  25. </data>
  26. </openerp>