[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
This commit is contained in:
parent
85d2b45aaa
commit
deacba0ed6
|
@ -179,7 +179,7 @@
|
|||
<field name="mobile"/>
|
||||
<field name="fax"/>
|
||||
<field name="email" widget="email"/>
|
||||
<field name="title" domain="[('domain', '=', 'contact')]" options='{"no_open": True}'/>
|
||||
<field name="title" options='{"no_open": True}'/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
|
|
Loading…
Reference in New Issue