From 063fd1d8ace736961934567a74f6940ed937a294 Mon Sep 17 00:00:00 2001 From: Yanina Aular Date: Mon, 11 Mar 2013 14:52:12 -0530 Subject: [PATCH] [ADD] Security --- account_financial_report/__openerp__.py | 1 + account_financial_report/security/ir.model.access.csv | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 account_financial_report/security/ir.model.access.csv diff --git a/account_financial_report/__openerp__.py b/account_financial_report/__openerp__.py index ab66bdcc..ff62479f 100644 --- a/account_financial_report/__openerp__.py +++ b/account_financial_report/__openerp__.py @@ -42,6 +42,7 @@ In the [ Account's Sign on Reports ] Section in the Company will be able to set "init_xml" : [], "demo_xml" : [], "update_xml" : [ + "security/ir.model.access.csv" "security/security.xml", "view/report.xml", "view/wizard.xml", diff --git a/account_financial_report/security/ir.model.access.csv b/account_financial_report/security/ir.model.access.csv new file mode 100644 index 00000000..aa94bc4a --- /dev/null +++ b/account_financial_report/security/ir.model.access.csv @@ -0,0 +1,10 @@ +"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" +"access_afr_user","afr.user","model_afr","group_afreport",1,1,1,1 +"access_res_currency_user","res.currency.user","base.model_res_currency","group_afreport",1,1,1,1 +"access_res_company_user","res.company.user","base.model_res_company","group_afreport",1,1,1,1 +"access_account_account_user","account.account.user","account.model_account_account","group_afreport",1,1,1,1 +"access_account_fiscalyear_user","account.fiscalyear.user","account.model_account_fiscalyear","group_afreport",1,1,1,1 +"access_account_period_user","account.period.user","account.model_account_period","group_afreport",1,1,1,1 +"access_account_invoice_user","account.invoice.user","account.model_account_invoice","group_afreport",1,1,1,1 +"access_account_account","account.account","account.model_account_account","account.group_account_user",1,1,1,1 +"access_account_invoice_report","account.invoice.report","account.model_account_invoice_report","account.group_account_manager",1,1,1,1