res_company_view.xml 904 B

12345678910111213141516171819202122
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_company_ean_form" model="ir.ui.view">
  5. <field name="name">res.company.form</field>
  6. <field name="model">res.company</field>
  7. <field name="inherit_id" ref="base.view_company_form"/>
  8. <field name="arch" type="xml">
  9. <page string="Configuration" position="inside">
  10. <newline/>
  11. <group colspan="2" col="2">
  12. <separator string="Ean Company code" colspan="2"/>
  13. <field name="ean_sequence_id" domain="[('barcode_sequence', '=', 1)]"
  14. context="{'default_name': name and 'EAN ' + name or 'EAN', 'default_barcode_sequence': 1}"/>
  15. </group>
  16. </page>
  17. </field>
  18. </record>
  19. </data>
  20. </openerp>