Turkesh Patel (openERP) has proposed merging 
lp:~openerp-dev/openobject-server/trunk-module-summary-imp-tpa into 
lp:~openerp-dev/openobject-server/trunk-module-summary.

Requested reviews:
  Jigar Amin  (OpenERP) (jam-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-server/trunk-module-summary-imp-tpa/+merge/115271


-->  instead of showing the module's technical name, show a short description 
that explains what the application does. for that added 'summary' field in 
ir.module.module.
-- 
https://code.launchpad.net/~openerp-dev/openobject-server/trunk-module-summary-imp-tpa/+merge/115271
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-server/trunk-module-summary.
=== modified file 'openerp/addons/base/module/module.py'
--- openerp/addons/base/module/module.py	2012-07-16 20:35:12 +0000
+++ openerp/addons/base/module/module.py	2012-07-17 05:46:28 +0000
@@ -227,6 +227,7 @@
         'application': fields.boolean('Application', readonly=True),
         'icon': fields.char('Icon URL', size=128),
         'icon_image': fields.function(_get_icon_image, string='Icon', type="binary"),
+        'summary': fields.char('Summary', size=256, translate=True, readonly=True),
     }
 
     _defaults = {
@@ -481,6 +482,7 @@
             'application': terp.get('application', False),
             'auto_install': terp.get('auto_install', False),
             'icon': terp.get('icon', False),
+            'summary': terp.get('summary', ''),
         }
 
     # update the list of available packages

=== modified file 'openerp/addons/base/module/module_view.xml'
--- openerp/addons/base/module/module_view.xml	2012-07-16 20:35:12 +0000
+++ openerp/addons/base/module/module_view.xml	2012-07-17 05:46:28 +0000
@@ -78,7 +78,8 @@
                         <div class="oe_module_desc">
                           <h4><a type="edit"><field name="shortdesc"/></a></h4>
                           <p class="oe_module_name">
-                             <field name="name"/><br/>
+                             <field name="summary"/>
+                             <field name="name" groups="base.group_no_one"/><br/>
                           </p>
                           <button type="object" name="button_immediate_install" states="uninstalled">Install</button>
                           <button t-if="installed" disabled="disabled">Installed</button>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to