From 262acff85413d1d6cc8b8e444dd545870bfe3a94 Mon Sep 17 00:00:00 2001 From: Marcel Much Date: Tue, 20 Dec 2016 12:13:09 +0100 Subject: [PATCH] [FIX] partner_firstname: name, firstname and lastname only required if adress 'type' is contact --- partner_firstname/views/res_partner.xml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/partner_firstname/views/res_partner.xml b/partner_firstname/views/res_partner.xml index 85c269613..7f39c52af 100644 --- a/partner_firstname/views/res_partner.xml +++ b/partner_firstname/views/res_partner.xml @@ -19,10 +19,12 @@ + ('is_company', '=', False), + ('type', '=', 'contact')]}"/> + ('is_company', '=', False), + ('type', '=', 'contact')]}"/> @@ -47,10 +49,12 @@ + ('is_company', '=', False), + ('type', '=', 'contact')]}"/> + ('is_company', '=', False), + ('type', '=', 'contact')]}"/> @@ -71,10 +75,12 @@ + ('is_company', '=', False), + ('type', '=', 'contact')]}"/> + ('is_company', '=', False), + ('type', '=', 'contact')]}"/>