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.

32 lines
1.4 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.ui.view" id="view_partner_address_form1_inherited">
  5. <field name="name">res.partner.address.form1.inherit</field>
  6. <field name="model">res.partner.address</field>
  7. <field name="type">form</field>
  8. <field name="inherit_id" ref="base.view_partner_address_form1"/>
  9. <field name="arch" type="xml">
  10. <field name="type" position="before">
  11. <field name="first_name" select="1" on_change="onchange_name(first_name,last_name)"/>
  12. <field name="last_name" select="1" on_change="onchange_name(first_name,last_name)"/>
  13. <newline/>
  14. </field>
  15. </field>
  16. </record>
  17. <record model="ir.ui.view" id="view_partner_form_inherited">
  18. <field name="name">res.partner.form.inherit</field>
  19. <field name="model">res.partner</field>
  20. <field name="type">form</field>
  21. <field name="inherit_id" ref="base.view_partner_form"/>
  22. <field name="arch" type="xml">
  23. <xpath expr="/form/notebook/page[@string='General']/field/form/group/field[@name='name']" position="before">
  24. <field name="first_name" on_change="onchange_name(first_name,last_name)"/>
  25. <field name="last_name" on_change="onchange_name(first_name,last_name)"/>
  26. <newline />
  27. </xpath>
  28. </field>
  29. </record>
  30. </data>
  31. </openerp>