diff --git a/partner_firstname/__manifest__.py b/partner_firstname/__manifest__.py index 256d9984234..e6a25e801c0 100644 --- a/partner_firstname/__manifest__.py +++ b/partner_firstname/__manifest__.py @@ -18,7 +18,7 @@ "maintainer": "Camptocamp, Acsone", "category": "Extra Tools", "website": "https://github.com/OCA/partner-contact", - "depends": ["base_setup"], + "depends": ["base_setup", "partner_type_base"], "post_init_hook": "post_init_hook", "data": [ "views/base_config_view.xml", diff --git a/partner_firstname/views/res_partner.xml b/partner_firstname/views/res_partner.xml index 01c1ba8d250..387cd3957e4 100644 --- a/partner_firstname/views/res_partner.xml +++ b/partner_firstname/views/res_partner.xml @@ -4,25 +4,12 @@ - is_company - not is_company - type == 'contact' and is_company - - - is_company == False - not is_company - type == 'contact' and is_company + is_individual - - - + + + @@ -32,54 +19,39 @@ - is_company - not is_company - type == 'contact' and is_company - - - not is_company - not is_company - type == 'contact' and is_company + is_individual
- +
- - - not is_company - is_company - +
- - +