Merge branch '2.0-web-flectra' into 'master'

[ADD] License Terms And Changed Description In web_flectra module

See merge request flectra-hq/flectra!313
This commit is contained in:
Parthiv Patel committed 2021-01-07 12:11:29 +00:00
commit c1e0b604f2
4 files changed
+12 -4

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
{
'name': 'Flectra Backend Theme',
'name': 'Flectra Core Backend',
'version': '2.0.1.0',
"category": "Hidden",
"website": "https://flectrahq.com/",
+1 -1
View File
@@ -1,4 +1,4 @@
from . import res_company
from . import res_users
from . import apps_upgrade
from . import ir_module
+8
View File
@@ -0,0 +1,8 @@
from flectra import api, fields, models, modules, tools, _
class IrModuleModule(models.Model):
_inherit = "ir.module.module"
license = fields.Selection(selection_add=[('FPL-1', 'Flectra Proprietary License v1.0'),
('FEEL-1', 'Flectra Enterprise Edition License v1.0'),
])
+2 -2
View File
@@ -289,8 +289,8 @@ class Module(models.Model):
('AGPL-3', 'Affero GPL-3'),
('LGPL-3', 'LGPL Version 3'),
('Other OSI approved licence', 'Other OSI Approved License'),
('OEEL-1', 'Flectra Enterprise Edition License v1.0'),
('OPL-1', 'Flectra Proprietary License v1.0'),
('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)