diff options
| author | Christophe Simonis <christophe@tinyerp.com> | 2008-11-03 19:19:28 +0100 |
|---|---|---|
| committer | Christophe Simonis <christophe@tinyerp.com> | 2008-11-03 19:19:28 +0100 |
| commit | c619a6fdec91c7279760daf9254518c50022e7e0 (patch) | |
| tree | d0c417d7f565e3875a2fb8d8f977b4c27c55eed2 /bin/addons/base/module/module.py | |
| parent | e331bbe139f5ab776533f4de537ba0590a7e6e03 (diff) | |
allow more specific gpl licencing of modules
bzr revid: christophe@tinyerp.com-20081103181928-kgx86tqic4oum6l7
Diffstat (limited to 'bin/addons/base/module/module.py')
| -rw-r--r-- | bin/addons/base/module/module.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/bin/addons/base/module/module.py b/bin/addons/base/module/module.py index 03cad192bff..c4cfc98c59e 100644 --- a/bin/addons/base/module/module.py +++ b/bin/addons/base/module/module.py @@ -287,9 +287,13 @@ class module(osv.osv): ('to install','To be installed') ], string='State', readonly=True), 'demo': fields.boolean('Demo data'), - 'license': fields.selection([('GPL-2', 'GPL-2'),('GPL-3', 'GPL-3'), - ('Other proprietary', 'Other proprietary')], string='License', - readonly=True), + 'license': fields.selection([ + ('GPL-2', 'GPL-2'), + ('GPL-2 or any later version', 'GPL-2 or later version'), + ('GPL-3', 'GPL-3'), + ('GPL-3 or any later version', 'GPL-3 or later version'), + ('Other proprietary', 'Other proprietary') + ], string='License', readonly=True), 'menus_by_module': fields.function(_get_menus, method=True, string='Menus', type='text'), 'reports_by_module': fields.function(_get_reports, method=True, string='Reports', type='text'), 'views_by_module': fields.function(_get_views, method=True, string='Views', type='text'), |
