From c8e8860d080aa0e7005a3dc5680cf1be25311a82 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Thu, 25 Apr 2013 18:39:16 +0200 Subject: [PATCH] [FIX] res.partner: make use_parent_address field visible if set, even if parent is missing This should not be needed but in the initial 7.0 branch the default for use_parent_address was True so it was set even on partners that had no parent company. Now that the fields are read-only when that option is enabled, it makes the address impossible to edit. At least by making it visible we give the user the opportunity of fixing it manually. Can also be fixed at once with a single SQL query: UPDATE res_partner set use_parent_address = false WHERE parent_id IS NULL; bzr revid: odo@openerp.com-20130425163916-ou7jjr6xbopfwvrc --- openerp/addons/base/res/res_partner_view.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openerp/addons/base/res/res_partner_view.xml b/openerp/addons/base/res/res_partner_view.xml index 741b6eb5cdd..e02bf863ded 100644 --- a/openerp/addons/base/res/res_partner_view.xml +++ b/openerp/addons/base/res/res_partner_view.xml @@ -157,8 +157,8 @@
-