From deacba0ed6bb4d50eb22cfa8a8ac528b65744138 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Thu, 14 Aug 2014 12:00:27 +0200 Subject: [PATCH] [IMP] base: no default domain for partner's title The title field should not have a domain by default. When a new record is created or the 'is company' field is changed, the onchange_type is triggered to restrict the domain accordingly to is_company field. When an existing record is modified, there will have no domain on title field. It's not ideal but at least companies will be able to change the title without the need to modify twice the field is_company. Fixes #1713 --- openerp/addons/base/res/res_partner_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openerp/addons/base/res/res_partner_view.xml b/openerp/addons/base/res/res_partner_view.xml index 5fa95114d50..2f442479434 100644 --- a/openerp/addons/base/res/res_partner_view.xml +++ b/openerp/addons/base/res/res_partner_view.xml @@ -179,7 +179,7 @@ - +