[IMP] in partner form, make the tab 'Contacts' visible only for companies

bzr revid: rco@openerp.com-20120719091146-4m4kzmbzh1g6pjgb
This commit is contained in:
Raphael Collet
2012-07-19 11:11:46 +02:00
parent 50267e2995
commit 48dfecb59f
+1 -1
View File
@@ -154,7 +154,7 @@
</group>
<notebook colspan="4">
<page string="Contacts">
<page string="Contacts" attrs="{'invisible': [('is_company','=',False)]}">
<field name="child_ids" context="{'default_parent_id': active_id}" mode="kanban">
<kanban>
<field name="color"/>