[IMP]module: improve view of module

bzr revid: mma@tinyerp.com-20120523051608-38oi4hgokzei69db
This commit is contained in:
Mayur Maheshwari (OpenERP)
2012-05-23 10:46:08 +05:30
parent 3a345ed326
commit 1eb004399c
2 changed files with 10 additions and 19 deletions
+1 -1
View File
@@ -163,7 +163,7 @@ class module(osv.osv):
_columns = {
'name': fields.char("Technical Name", size=128, readonly=True, required=True, select=True),
'category_id': fields.many2one('ir.module.category', 'Category', readonly=True, select=True),
'shortdesc': fields.char('Name', size=256, readonly=True, translate=True),
'shortdesc': fields.char('Application Name', size=256, readonly=True, translate=True),
'description': fields.text("Description", readonly=True, translate=True),
'author': fields.char("Author", size=128, readonly=True),
'maintainer': fields.char('Maintainer', size=128, readonly=True),
+9 -18
View File
@@ -133,30 +133,21 @@
</div>
</div>
<sheet string="Module" layout="auto">
<group colspan="4" col="6" class="oe_form_header">
<field name="icon" widget='image' nolabel="1" rowspan="6" colspan="1"/>
<group colspan="2" col="2" class="oe_form_group_label_border">
<field name="shortdesc"/>
<field name="certificate" />
<field name="category_id"/>
<field name="author" select="2"/>
<field name="license"/>
<field name="website" select="2" widget="url" string="Author Website"/>
</group>
<notebook colspan="4">
<page string="Module">
<group colspan="4" col="4">
<group colspan="2" col="2">
<separator string="Author" colspan="2"/>
<field name="author" select="2"/>
<field name="license"/>
<field name="website" select="2" widget="url" string="Author Website"/>
</group>
<group colspan="2" col="2">
<separator string="Version" colspan="2"/>
<field name="installed_version"/>
</group>
</group>
<separator string="Description" colspan="4"/>
<field colspan="4" name="description" select="2" nolabel="1"/>
<page string="Description">
<field colspan="4" name="description" select="2" nolabel="1" rowspan="6"/>
</page>
<page string="Technical Data">
<field name="name"/>
<field name="certificate" />
<field name="demo"/>
<field name="application"/>
<field colspan="4" name="dependencies_id" nolabel="1">
@@ -185,8 +176,8 @@
<field name="type">tree</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">
<field name="name" groups="base.group_no_one"/>
<field name="shortdesc"/>
<field name="name" groups="base.group_no_one"/>
<field name="author"/>
<field name="installed_version"/>
<field name="state"/>