From 8766ebbcbf160903fb887a8be545ea0cb942db60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Open=20Net=20S=C3=A0rl?= Date: Thu, 1 Sep 2016 15:09:20 +0200 Subject: [PATCH] Add attrs="{'readonly': [('type', '=', 'contact'),('parent_id', '!=', False)]}" to zip_id --- base_location/views/partner_view.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base_location/views/partner_view.xml b/base_location/views/partner_view.xml index cade97e03..ee44a73f8 100644 --- a/base_location/views/partner_view.xml +++ b/base_location/views/partner_view.xml @@ -11,13 +11,13 @@ + class="oe_edit_only" attrs="{'readonly': [('type', '=', 'contact'),('parent_id', '!=', False)]}" /> + class="oe_edit_only" attrs="{'readonly': [('type', '=', 'contact'),('parent_id', '!=', False)]}" />