[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.
This commit is contained in:
David Monjoie
2016-09-23 14:12:30 +02:00
parent e7d409c98c
commit 5f1c771b53
+1
View File
@@ -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)