diff --git a/partner_firstname/views/base_config_view.xml b/partner_firstname/views/base_config_view.xml index 488328e37..1507c8cdb 100644 --- a/partner_firstname/views/base_config_view.xml +++ b/partner_firstname/views/base_config_view.xml @@ -1,34 +1,31 @@ - + - - + Add partner_names_order config parameter res.config.settings - +

Partner Names Order

-
+
- - -
- diff --git a/partner_firstname/views/res_partner.xml b/partner_firstname/views/res_partner.xml index 3b9e6b243..f49b3302a 100644 --- a/partner_firstname/views/res_partner.xml +++ b/partner_firstname/views/res_partner.xml @@ -1,9 +1,9 @@ - + Add firstname and lastname res.partner - + @@ -12,27 +12,29 @@ 'required': [('is_company', '=', True)] } - - - + + ('type', '=', 'contact')]}" + /> - Add firstname and surnames res.partner - + @@ -41,44 +43,53 @@ 'required': [('is_company', '=', True)] } -
- - + + ('type', '=', 'contact')]}" + />
- - + { 'readonly': [('is_company', '=', False)], 'required': [('is_company', '=', True)] } - - +
- + - - + + ('type', '=', 'contact')]}" + />
diff --git a/partner_firstname/views/res_user.xml b/partner_firstname/views/res_user.xml index 190f26224..3b692c5be 100644 --- a/partner_firstname/views/res_user.xml +++ b/partner_firstname/views/res_user.xml @@ -1,22 +1,25 @@ - + Add firstname and surnames res.users - + True False - - - + +