From b02636c386ec07323242c60cc1dd170c8ca52c0d Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Mon, 16 Feb 2015 00:39:02 +0100 Subject: [PATCH] [FIX] partner_firstname: Better practices in views --- partner_firstname/partner_view.xml | 26 ++++++++++++-------------- partner_firstname/res_user_view.xml | 18 ++++++++++++------ 2 files changed, 24 insertions(+), 20 deletions(-) diff --git a/partner_firstname/partner_view.xml b/partner_firstname/partner_view.xml index 9a88c6e80..87f41b805 100644 --- a/partner_firstname/partner_view.xml +++ b/partner_firstname/partner_view.xml @@ -32,29 +32,27 @@ - + - - - + + + - + - +
-
- -
- {'readonly': [('is_company', '=', False)], 'required': [('is_company', '=', True)]} -
+ + {'readonly': [('is_company', '=', False)], 'required': [('is_company', '=', True)]} - diff --git a/partner_firstname/res_user_view.xml b/partner_firstname/res_user_view.xml index 56f91507c..f6516468d 100644 --- a/partner_firstname/res_user_view.xml +++ b/partner_firstname/res_user_view.xml @@ -9,17 +9,23 @@ -