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)]}" />