From 8b2c01ae02a5aa06084f0012bfe2ba27d7764cbe Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Thu, 17 Jan 2019 09:20:50 +0100 Subject: [PATCH] [10.0] account_fiscal_year: add full rights on date.range* to account manager (#758) --- account_fiscal_year/__manifest__.py | 3 ++- account_fiscal_year/security/ir.model.access.csv | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 account_fiscal_year/security/ir.model.access.csv diff --git a/account_fiscal_year/__manifest__.py b/account_fiscal_year/__manifest__.py index 2aa2d5ddc..8a2290989 100644 --- a/account_fiscal_year/__manifest__.py +++ b/account_fiscal_year/__manifest__.py @@ -4,7 +4,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { 'name': 'Account Fiscal Year', - 'version': '10.0.1.0.0', + 'version': '10.0.1.0.1', 'category': 'Accounting', 'author': 'Camptocamp SA,' 'Odoo Community Association (OCA)', @@ -16,6 +16,7 @@ 'data': [ 'data/date_range_type.xml', 'views/date_range_type.xml', + 'security/ir.model.access.csv', ], 'installable': True, 'application': True, diff --git a/account_fiscal_year/security/ir.model.access.csv b/account_fiscal_year/security/ir.model.access.csv new file mode 100644 index 000000000..ea14046f7 --- /dev/null +++ b/account_fiscal_year/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_date_range_account_manager,Full rights on date.range to Account Manager,date_range.model_date_range,account.group_account_manager,1,1,1,1 +access_date_range_type_account_manager,Full rights on date.range.type to Account Manager,date_range.model_date_range_type,account.group_account_manager,1,1,1,1