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. 6
      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="arch" type="xml">
<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>
</data>
</field>

3
partner_contact_in_several_companies/__openerp__.py

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

6
partner_contact_nationality/views/res_partner.xml

@ -8,12 +8,12 @@
<field name="inherit_id" ref="partner_contact_personal_information_page.personal_information"/>
<field name="arch" type="xml">
<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>
</data>
</field>
</record>
</data>
</odoo>
</odoo>
Loading…
Cancel
Save