diff --git a/views/res_partner.xml b/views/res_partner.xml index b0f38242a32a4823561179414999cccd1993d5a1..76aff6f4f546514f20ba35bc7a3ca137fc1b1e0e 100644 --- a/views/res_partner.xml +++ b/views/res_partner.xml @@ -135,7 +135,7 @@ <field name="organization_subtype_id" attrs="{'invisible': [('is_company','=', False)]}" domain="[('child_ids', '=', False)]" options="{'no_create': True, 'no_open': True}"/> <field name="organization_type_id" readonly="1" attrs="{'invisible': [('is_company', '=', False)]}" options="{'no_create': True, 'no_open': True}"/> </group> - <group name="contact_segment_info" attrs="{'invisible': ['|', ('is_company', '=', True), ('type', '!=', 'contact']}"> + <group name="contact_segment_info" attrs="{'invisible': ['|', ('is_company', '=', True), ('type', '!=', 'contact')]}"> <field name="title" options='{"no_create": True, "no_open": True}' attrs="{'invisible': [('is_company','=', True)]}"/> <field name="mandate_id" options='{"no_create": True, "no_open": True}' attrs="{'invisible': [('is_company','=', True)]}"/> <field name="function"/>