[IMP] Modules list view : create = false (should not have a button to create modules).

bzr revid: mdi@tinyerp.com-20121121072422-9c2q9bv1u0s8ff3f
This commit is contained in:
Divyesh Makwana (Open ERP) 2012-11-21 12:54:22 +05:30
parent 6bbac26ffb
commit e4bb420d43
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@
<field name="name">ir.module.module.tree</field>
<field name="model">ir.module.module</field>
<field name="arch" type="xml">
<tree colors="blue:state=='to upgrade' or state=='to install';red:state=='uninstalled';grey:state=='uninstallable';black:state=='installed'" string="Modules">
<tree colors="blue:state=='to upgrade' or state=='to install';red:state=='uninstalled';grey:state=='uninstallable';black:state=='installed'" create="false" string="Modules">
<field name="shortdesc"/>
<field name="name" groups="base.group_no_one"/>
<field name="author"/>