diff options
| author | Raphael Collet <rco@openerp.com> | 2011-07-08 11:59:42 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2011-07-08 11:59:42 +0200 |
| commit | be455d5d56dfc9084c1e86889c8ef24bb46af8a5 (patch) | |
| tree | b5435c20d45955f0e0b572e2baae7b5f453afbe1 /openerp/addons/base/module/module.py | |
| parent | d3154c3c900e5bfef674fafa3651bdd1fb042559 (diff) | |
| parent | 409cf866737982d6e6d50b2c28633d3356ea6e05 (diff) | |
[MERGE] add field 'complexity' in ir.module.module
bzr revid: rco@openerp.com-20110708095942-ghzdubw16iji4v34
Diffstat (limited to 'openerp/addons/base/module/module.py')
| -rw-r--r-- | openerp/addons/base/module/module.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openerp/addons/base/module/module.py b/openerp/addons/base/module/module.py index 0ff3070d44e..034829b82b5 100644 --- a/openerp/addons/base/module/module.py +++ b/openerp/addons/base/module/module.py @@ -197,6 +197,9 @@ class module(osv.osv): 'views_by_module': fields.function(_get_views, method=True, string='Views', type='text', multi="meta", store=True), 'certificate' : fields.char('Quality Certificate', size=64, readonly=True), 'web': fields.boolean('Has a web component', readonly=True), + 'complexity': fields.selection([('easy','Easy'), ('normal','Normal'), ('expert','Expert')], + string='Complexity', readonly=True, + help='Level of difficulty of module. Easy: intuitive and easy to use for everyone. Normal: easy to use for business experts. Expert: requires technical skills.'), } _defaults = { @@ -376,6 +379,7 @@ class module(osv.osv): 'license': terp.get('license', 'AGPL-3'), 'certificate': terp.get('certificate') or False, 'web': terp.get('web') or False, + 'complexity': terp.get('complexity', ''), } # update the list of available packages |
