summaryrefslogtreecommitdiff
path: root/odoo/addons/base/module/module.py
diff options
context:
space:
mode:
authorDavid Monjoie <dmo@odoo.com>2016-09-23 13:57:51 +0200
committerDavid Monjoie <dmo@odoo.com>2016-09-23 14:12:30 +0200
commit5f1c771b53efe1ba5a00b3fefaa421f7b2204226 (patch)
treed25932918e69691a184a8bfce0c3a97211ac0b90 /odoo/addons/base/module/module.py
parente7d409c98c99941e2aa27f21a452a947c65588ca (diff)
[ADD] base: add OPL-1 module license
This allows people to create modules under the 'Odoo Proprietary License' version 1.0 rather than having to rely on the rather vague 'Other Priorietary' license. The text of the license can be found at: https://www.odoo.com/loempia/static/examples/LICENSE This should already have been in Odoo 9 but was mistakenly left out.
Diffstat (limited to 'odoo/addons/base/module/module.py')
-rw-r--r--odoo/addons/base/module/module.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/odoo/addons/base/module/module.py b/odoo/addons/base/module/module.py
index dc70f17f5fe..99a319b0ad6 100644
--- a/odoo/addons/base/module/module.py
+++ b/odoo/addons/base/module/module.py
@@ -261,6 +261,7 @@ class Module(models.Model):
('LGPL-3', 'LGPL Version 3'),
('Other OSI approved licence', 'Other OSI Approved Licence'),
('OEEL-1', 'Odoo Enterprise Edition License v1.0'),
+ ('OPL-1', 'Odoo Proprietary License v1.0'),
('Other proprietary', 'Other Proprietary')
], string='License', default='LGPL-3', readonly=True)
menus_by_module = fields.Text(string='Menus', compute='_get_views', store=True)