[IMP] base: no default domain for partner's title
authorMartin Trigaux <mat@openerp.com>
Thu, 14 Aug 2014 10:00:27 +0000 (12:00 +0200)
committerMartin Trigaux <mat@openerp.com>
Thu, 14 Aug 2014 10:00:27 +0000 (12:00 +0200)
commitdeacba0ed6bb4d50eb22cfa8a8ac528b65744138
tree31b2614bed90085081de28f933f46bb8c04a24a1
parent85d2b45aaa0a91e39fb585f873f5297e5977344b
[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