Browse Source

[ADD] Security

pull/7/merge
Yanina Aular 12 years ago
committed by Guewen Baconnier
parent
commit
2ab4d3df3a
  1. 1
      account_financial_report/__openerp__.py
  2. 10
      account_financial_report/security/ir.model.access.csv

1
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",

10
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
Loading…
Cancel
Save