From d635f69ac666c99fe7dab26ad53e558cb642c4a9 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Sat, 14 Mar 2020 12:15:46 +0100 Subject: [PATCH] pre-commit update --- partner_firstname/views/base_config_view.xml | 31 ++++----- partner_firstname/views/res_partner.xml | 73 +++++++++++--------- partner_firstname/views/res_user.xml | 17 +++-- 3 files changed, 66 insertions(+), 55 deletions(-) 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 - - - + +