diff --git a/server_environment/__manifest__.py b/server_environment/__manifest__.py index 7699d18..ae1020e 100644 --- a/server_environment/__manifest__.py +++ b/server_environment/__manifest__.py @@ -4,13 +4,17 @@ { "name": "server configuration environment files", - "version": "13.0.2.3.1", + "version": "14.0.1.0.0", "depends": ["base", "base_sparse_field"], "author": "Camptocamp,Odoo Community Association (OCA)", "summary": "move some configurations out of the database", "website": "http://github.com/OCA/server-env", "license": "GPL-3 or any later version", "category": "Tools", - "data": ["security/res_groups.xml", "serv_config.xml"], + "data": [ + "security/server_config.xml", + "security/res_groups.xml", + "serv_config.xml", + ], "installable": True, } diff --git a/server_environment/models/server_env_tech_name_mixin.py b/server_environment/models/server_env_tech_name_mixin.py index fcf676c..02736c7 100644 --- a/server_environment/models/server_env_tech_name_mixin.py +++ b/server_environment/models/server_env_tech_name_mixin.py @@ -29,7 +29,11 @@ class ServerEnvTechNameMixin(models.AbstractModel): _name = "server.env.techname.mixin" _description = "Server environment technical name" _sql_constraints = [ - ("tech_name_uniq", "unique(tech_name)", "`tech_name` must be unique!",) + ( + "tech_name_uniq", + "unique(tech_name)", + "`tech_name` must be unique!", + ) ] # TODO: could leverage the new option for computable / writable fields # and get rid of some onchange / read / write code. diff --git a/server_environment/security/server_config.xml b/server_environment/security/server_config.xml new file mode 100644 index 0000000..2273e9e --- /dev/null +++ b/server_environment/security/server_config.xml @@ -0,0 +1,14 @@ + + + + + server.config access + + + + + + + + diff --git a/server_environment/serv_config.xml b/server_environment/serv_config.xml index 29fab6d..5d23dd8 100644 --- a/server_environment/serv_config.xml +++ b/server_environment/serv_config.xml @@ -1,11 +1,10 @@ - + + Server Environment + server.config + form +