From d186798edba56b75efe0fa292b344d3f019409f1 Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Tue, 1 Oct 2013 13:14:03 +0200 Subject: [PATCH] [IMP] don't show first/last name fields for companies --- partner_firstname/partner_view.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/partner_firstname/partner_view.xml b/partner_firstname/partner_view.xml index e13bdc50c..ce99f4438 100644 --- a/partner_firstname/partner_view.xml +++ b/partner_firstname/partner_view.xml @@ -5,8 +5,11 @@ res.partner + + {'readonly': [('is_company', '=', False)]} + - + @@ -19,8 +22,11 @@ res.partner + + {'readonly': [('is_company', '=', False)]} + - +