[IMP] make field read-only if multi-companies is not installed

bzr revid: hip@tinyerp.com-20121108085933-3kkoi75f21teqj2w
This commit is contained in:
Hiral Patel (OpenERP)
2012-11-08 14:29:33 +05:30
parent fc6976e7b2
commit 9be7efdc16
+1 -1
View File
@@ -100,7 +100,7 @@
<group>
<group>
<field name="new_password" password="True" attrs="{'required': [('id','=',False)]}"/>
<field name="company_id" context="{'user_preference': 0}"/>
<field name="company_id" context="{'user_preference': 0}" attrs="{'readonly': [('in_group_4','=',False)]}"/>
</group>
<group>
<field name="active"/>