diff --git a/bemade_sethy_configuration/data/company_data.xml b/bemade_sethy_configuration/data/company_data.xml index 3ab45b6..e9bb6d1 100644 --- a/bemade_sethy_configuration/data/company_data.xml +++ b/bemade_sethy_configuration/data/company_data.xml @@ -13,8 +13,8 @@ J2G 3V3 450 994-3173 - - + + diff --git a/bemade_sethy_configuration/views/res_partner_views.xml b/bemade_sethy_configuration/views/res_partner_views.xml index afa7588..745c4c1 100644 --- a/bemade_sethy_configuration/views/res_partner_views.xml +++ b/bemade_sethy_configuration/views/res_partner_views.xml @@ -14,50 +14,50 @@ + required="type == 'contact'" + invisible="not is_company or is_property"/> + invisible="not is_property"/> - {'invisible': [('is_property','=', True)]} + is_property - {'invisible': [('is_property','=', True)]} + is_property == True - {'invisible': [('is_property','=', True)]} + is_property == True - {'invisible': [('is_property','=', True)]} + is_property == True - {'invisible': [('is_property','=', True)]} + is_property == True - + @@ -66,11 +66,11 @@ - + + invisible="1"/> - +