From 5f1c771b53efe1ba5a00b3fefaa421f7b2204226 Mon Sep 17 00:00:00 2001 From: David Monjoie Date: Fri, 23 Sep 2016 13:57:51 +0200 Subject: [PATCH] [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. --- odoo/addons/base/module/module.py | 1 + 1 file changed, 1 insertion(+) 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)