From 5937980b1d20aba620665b21c0d3412cbde04fbf Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Wed, 10 Apr 2013 19:04:37 +0200 Subject: [PATCH] [FIX] res.partner form view: inherited view now hides `use_parent_address` on top of `type` + fix embedded form view too The `use_parent_address` flag is meant for advanced use in companies that want to make sure their contact/company addresses are always in sync, at the possible cost of some usability loss when editing existing addresses (need to open the company form view, contact fields are read-only). The embedded mini-form view of the contacts also need to be inherited to make it match the main view. bzr revid: odo@openerp.com-20130410170437-2v4ehptknk6yf1x2 --- addons/sale/res_partner_view.xml | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/addons/sale/res_partner_view.xml b/addons/sale/res_partner_view.xml index 54a9813eea9..40ac119fdee 100644 --- a/addons/sale/res_partner_view.xml +++ b/addons/sale/res_partner_view.xml @@ -63,14 +63,34 @@ sale.group_delivery_invoice_address - - False False + sale.group_delivery_invoice_address - + + False + sale.group_delivery_invoice_address + + + False + sale.group_delivery_invoice_address + + + False + sale.group_delivery_invoice_address + + + False + sale.group_delivery_invoice_address + + + False + sale.group_delivery_invoice_address + + + False sale.group_delivery_invoice_address