From bd497d93f455bbb86150e0a1e1fc0616f0e2d3c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20V=C3=A9zina?= Date: Tue, 5 Dec 2023 12:23:51 -0500 Subject: [PATCH] revert --- bemade_sethy_configuration/__manifest__.py | 1 - .../data/company_data.xml | 4 ++-- .../views/res_partner_views.xml | 17 ++++++++--------- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/bemade_sethy_configuration/__manifest__.py b/bemade_sethy_configuration/__manifest__.py index d21faaf..da5c4cf 100644 --- a/bemade_sethy_configuration/__manifest__.py +++ b/bemade_sethy_configuration/__manifest__.py @@ -11,7 +11,6 @@ 'license': 'GPL-3', 'depends': [ # List of module dependencies - 'account', 'base', 'contacts', 'crm', diff --git a/bemade_sethy_configuration/data/company_data.xml b/bemade_sethy_configuration/data/company_data.xml index 7149fb6..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 f93c116..745c4c1 100644 --- a/bemade_sethy_configuration/views/res_partner_views.xml +++ b/bemade_sethy_configuration/views/res_partner_views.xml @@ -14,11 +14,10 @@ + required="type == 'contact'" + invisible="not is_company or is_property"/> + invisible="not is_property"/> - is_property == True + is_property @@ -54,11 +53,11 @@ - is_property == True + is_property == True - + @@ -82,7 +81,7 @@ - +