[IMP] base: correct module view
bzr revid: chs@openerp.com-20100531121918-i1eet6uw5w7xut5a
This commit is contained in:
@@ -316,7 +316,7 @@ class module(osv.osv):
|
||||
'shortdesc': terp.get('name', ''),
|
||||
'author': terp.get('author', 'Unknown'),
|
||||
'maintainer': terp.get('maintainer', False),
|
||||
'contributors': ', '.join(terp.get('contributors', [])),
|
||||
'contributors': ', '.join(terp.get('contributors', [])) or False,
|
||||
'website': terp.get('website', ''),
|
||||
'license': terp.get('license', 'GPL-2'),
|
||||
'certificate': terp.get('certificate') or None,
|
||||
|
||||
@@ -95,16 +95,12 @@
|
||||
<field colspan="4" name="description" select="2"/>
|
||||
<field name="installed_version"/>
|
||||
<field name="latest_version"/>
|
||||
<group colspan='2' col='2'>
|
||||
<field name="author" select="2"/>
|
||||
<field name='maintainer'/>
|
||||
<field name='contributors'/>
|
||||
</group>
|
||||
<group colspan='2' col='2'>
|
||||
<field name="website" select="2" widget="url"/>
|
||||
<field name="url" widget="url"/>
|
||||
<field name="published_version"/>
|
||||
</group>
|
||||
<field name="author" select="2"/>
|
||||
<field name="website" select="2" widget="url"/>
|
||||
<field name="maintainer" attrs="{'invisible': [('maintainer', '=', False)]}"/>
|
||||
<field name="url" widget="url"/>
|
||||
<field name="contributors" widget="char" attrs="{'invisible': [('contributors', '=', False)]}"/>
|
||||
<field name="published_version"/>
|
||||
<field name="license"/>
|
||||
<field name="demo" readonly="1"/>
|
||||
<newline/>
|
||||
|
||||
Reference in New Issue
Block a user