summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRucha Dave <rda@openerp.com>2014-11-10 11:27:20 +0530
committerMartin Trigaux <mat@odoo.com>2014-11-13 11:03:22 +0100
commitca209eb18411847783559012107c93a2e76cfadc (patch)
tree115bb139d2985d73c49348badecf59eb82c531a5
parent83bd9ee16bf24b765e40676d9bfc74aae4f71cb8 (diff)
[FIX] hr_timesheet(_sheet): access rights on report
hr.timesheet.report was moved from hr_timesheet_sheet to hr_timesheet but not the ir.model.access Avoid warning "The model hr.timesheet.report has no access rules, consider adding one." Fixes #3319
-rw-r--r--addons/hr_timesheet/security/ir.model.access.csv1
-rw-r--r--addons/hr_timesheet_sheet/security/ir.model.access.csv1
2 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr_timesheet/security/ir.model.access.csv b/addons/hr_timesheet/security/ir.model.access.csv
index 689d425054a..4ac30f025ba 100644
--- a/addons/hr_timesheet/security/ir.model.access.csv
+++ b/addons/hr_timesheet/security/ir.model.access.csv
@@ -10,3 +10,4 @@ access_product_uom_hr_timesheet,product.uom.hr.timesheet,product.model_product_u
access_account_fiscalyear_hr_user,account.account.fiscalyear.user,account.model_account_fiscalyear,base.group_hr_user,1,1,1,1
access_hr_analytic_timesheet_user,hr.analytic.timesheet.user,model_hr_analytic_timesheet,base.group_user,1,1,1,0
access_account_analytic_journal_user,account.account.analytic.journal.user,account.model_account_analytic_journal,base.group_user,1,0,0,0
+access_hr_timesheet_report,access_hr_timesheet_report,model_hr_timesheet_report,,1,1,1,1
diff --git a/addons/hr_timesheet_sheet/security/ir.model.access.csv b/addons/hr_timesheet_sheet/security/ir.model.access.csv
index 8eef30b35c4..2ad3c7d5ca2 100644
--- a/addons/hr_timesheet_sheet/security/ir.model.access.csv
+++ b/addons/hr_timesheet_sheet/security/ir.model.access.csv
@@ -3,6 +3,5 @@ access_hr_timesheet_sheet_sheet_user,hr_timesheet_sheet.sheet.user,model_hr_time
access_hr_timesheet_sheet_sheet_system_employee,hr_timesheet_sheet.sheet.system.employee,model_hr_timesheet_sheet_sheet,base.group_user,1,1,1,0
access_hr_timesheet_sheet_sheet_day,hr_timesheet_sheet.sheet.day,model_hr_timesheet_sheet_sheet_day,base.group_hr_user,1,1,1,1
access_hr_timesheet_sheet_sheet_account,hr_timesheet_sheet.sheet.account,model_hr_timesheet_sheet_sheet_account,base.group_hr_user,1,1,1,1
-access_hr_timesheet_report,hr.timesheet.report,model_hr_timesheet_report,base.group_hr_manager,1,1,0,0
access_hr_analytic_timesheet_system_user,hr.analytic.timesheet.system.user,model_hr_analytic_timesheet,base.group_user,1,0,0,0
access_hr_timesheet_sheet_sheet_day,hr.timesheet.sheet.sheet.day.user,model_hr_timesheet_sheet_sheet_day,base.group_user,1,1,1,0