Browse Source

Fix multiple tabs "contact information"

pull/243/head
Denis Leemann 9 years ago
parent
commit
9e19ac9085
  1. 4
      partner_contact_gender/views/res_partner.xml
  2. 3
      partner_contact_in_several_companies/__openerp__.py
  3. 4
      partner_contact_nationality/views/res_partner.xml

4
partner_contact_gender/views/res_partner.xml

@ -8,8 +8,8 @@
<field name="inherit_id" ref="partner_contact_personal_information_page.personal_information"/> <field name="inherit_id" ref="partner_contact_personal_information_page.personal_information"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<data> <data>
<xpath expr="//page[@name='personal_information_page']/group[@name='personal_information_group']">
<field name='gender'/>
<xpath expr="//group[@name='personal_information_group']">
<field name="gender"/>
</xpath> </xpath>
</data> </data>
</field> </field>

3
partner_contact_in_several_companies/__openerp__.py

@ -23,8 +23,7 @@
'installable': True, 'installable': True,
'auto_install': False, 'auto_install': False,
"depends": [ "depends": [
"base",
"partner_contact_personal_information_page",
"partner_contact_personal_information_page"
], ],
"data": [ "data": [
"views/res_partner.xml", "views/res_partner.xml",

4
partner_contact_nationality/views/res_partner.xml

@ -8,8 +8,8 @@
<field name="inherit_id" ref="partner_contact_personal_information_page.personal_information"/> <field name="inherit_id" ref="partner_contact_personal_information_page.personal_information"/>
<field name="arch" type="xml"> <field name="arch" type="xml">
<data> <data>
<xpath expr="//page[@name='personal_information_page']/group[@name='personal_information_group']">
<field name='nationality_id'/>
<xpath expr="//group[@name='personal_information_group']">
<field name="gender"/>
</xpath> </xpath>
</data> </data>
</field> </field>

Loading…
Cancel
Save