From 05cf421fa905541b1f9e0621523d7f5b53147d0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20V=C3=A9zina?= Date: Sun, 3 Dec 2023 10:53:32 -0500 Subject: [PATCH] port to 17.0 --- .../data/company_data.xml | 4 +-- .../views/res_partner_views.xml | 34 +++++++++---------- 2 files changed, 19 insertions(+), 19 deletions(-) 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"/> - +