From 6ad50067c0ab399c2388da4b287c7832de89d7ad Mon Sep 17 00:00:00 2001 From: Denis Leemann Date: Mon, 25 Jan 2016 13:13:05 +0100 Subject: [PATCH] Making the 'personal contact' informations depentens of the module 'personal_contact_information' --- partner_contact_birthdate/__openerp__.py | 2 +- .../views/res_partner.xml | 21 +---------------- partner_contact_gender/views/res_partner.xml | 20 +--------------- .../__openerp__.py | 3 ++- .../views/res_partner.xml | 21 +---------------- partner_contact_nationality/__openerp__.py | 2 +- .../views/res_partner.xml | 23 +------------------ 7 files changed, 8 insertions(+), 84 deletions(-) diff --git a/partner_contact_birthdate/__openerp__.py b/partner_contact_birthdate/__openerp__.py index a34b5c669..a8ab0cc18 100644 --- a/partner_contact_birthdate/__openerp__.py +++ b/partner_contact_birthdate/__openerp__.py @@ -9,7 +9,7 @@ "category": "Customer Relationship Management", "website": "https://odoo-community.org/", "depends": [ - "base", + "partner_contact_personal_information_page", ], "data": [ "views/res_partner.xml", diff --git a/partner_contact_birthdate/views/res_partner.xml b/partner_contact_birthdate/views/res_partner.xml index ebe1e8a08..49c636171 100644 --- a/partner_contact_birthdate/views/res_partner.xml +++ b/partner_contact_birthdate/views/res_partner.xml @@ -4,29 +4,10 @@ - - - Personal information page for contacts form - res.partner - - 2 - - - - - - - - - - - Birthdate Date field res.partner - + diff --git a/partner_contact_gender/views/res_partner.xml b/partner_contact_gender/views/res_partner.xml index ed23db953..d71d0630a 100644 --- a/partner_contact_gender/views/res_partner.xml +++ b/partner_contact_gender/views/res_partner.xml @@ -5,25 +5,7 @@ Partner gender: personal info res.partner - - 2 - - - - - - - - - - - - - Partner gender: personal info - res.partner - + diff --git a/partner_contact_in_several_companies/__openerp__.py b/partner_contact_in_several_companies/__openerp__.py index a668001fc..7dde7c792 100644 --- a/partner_contact_in_several_companies/__openerp__.py +++ b/partner_contact_in_several_companies/__openerp__.py @@ -23,7 +23,8 @@ 'installable': True, 'auto_install': False, "depends": [ - "base" + "base", + "partner_contact_personal_information_page", ], "data": [ "views/res_partner.xml", diff --git a/partner_contact_in_several_companies/views/res_partner.xml b/partner_contact_in_several_companies/views/res_partner.xml index 2e4fcaab4..a56bb51b3 100644 --- a/partner_contact_in_several_companies/views/res_partner.xml +++ b/partner_contact_in_several_companies/views/res_partner.xml @@ -2,25 +2,6 @@ - - - Personal information page for contacts form - res.partner - - 2 - - - - - - - - - - - res.partner.select.contact res.partner @@ -162,7 +143,7 @@ Contacts in several partners: personal info res.partner - + - - Partner nationality: personal info res.partner - - 2 - - - - - - - - - - - - - Partner nationality: personal info - res.partner - + @@ -34,5 +14,4 @@ -