account_view.xml 1.1 KB

12345678910111213141516171819202122232425
  1. <?xml version="1.0"?>
  2. <openerp>
  3. <data>
  4. <record id="view_account_journal_form" model="ir.ui.view">
  5. <field name="name">account.journal.form</field>
  6. <field name="model">account.journal</field>
  7. <field name="inherit_id" ref="account.view_account_journal_form"/>
  8. <field name="arch" type="xml">
  9. <field name="company_id" position="after">
  10. <field name="timbrado" attrs=" {'required':[('type','=','sale')]}"/>
  11. </field>
  12. </field>
  13. </record>
  14. <record id="view_account_invoice_form" model="ir.ui.view">
  15. <field name="name">account.invoice.form</field>
  16. <field name="model">account.invoice</field>
  17. <field name="inherit_id" ref="account.invoice_supplier_form"/>
  18. <field name="arch" type="xml">
  19. <field name="supplier_invoice_number" position="before">
  20. <field name="timbrado"/>
  21. </field>
  22. </field>
  23. </record>
  24. </data>
  25. </openerp>