From c619a6fdec91c7279760daf9254518c50022e7e0 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Mon, 3 Nov 2008 19:19:28 +0100 Subject: [PATCH] allow more specific gpl licencing of modules bzr revid: christophe@tinyerp.com-20081103181928-kgx86tqic4oum6l7 --- bin/addons/base/module/module.py | 10 +++++++--- 1 file 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'),