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 @@ - +