summaryrefslogtreecommitdiff
path: root/addons/hr_expense/security
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2016-03-03 13:34:38 +0100
committerYannick Tivisse <yti@odoo.com>2016-06-17 12:14:57 +0200
commit717f9217bb323fa03c03bfc188a7f2cdb797eaa6 (patch)
treefa93065def62217b4bf28ebf7e4a6f6f750f210f /addons/hr_expense/security
parent5aa9bde34a1fac3e437d92e6daaf72029730a2f1 (diff)
[IMP] hr_expense: bring back the sheets + other new features
NB: - The option no_delete is not working, a fix will come from chm - The many2many widget on a sheet creation is not working correctly as the called command is a (1, id, values) without a (4, id, _) before. A fix will also come from chm, but a disgusting hack has been provided for this particular case (to remove after chm fix)
Diffstat (limited to 'addons/hr_expense/security')
-rw-r--r--addons/hr_expense/security/ir.model.access.csv2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/hr_expense/security/ir.model.access.csv b/addons/hr_expense/security/ir.model.access.csv
index c1d8735ddcf..0e60e20c017 100644
--- a/addons/hr_expense/security/ir.model.access.csv
+++ b/addons/hr_expense/security/ir.model.access.csv
@@ -2,6 +2,8 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_hr_expense_user,hr.expense.user,model_hr_expense,base.group_hr_user,1,1,1,1
access_hr_expense_employee,hr.expense.employee,model_hr_expense,base.group_user,1,1,1,1
+access_hr_expense_sheet_user,hr.expense.sheet.user,model_hr_expense_sheet,base.group_hr_user,1,1,1,1
+access_hr_expense_sheet_employee,hr.expense.sheet.employee,model_hr_expense_sheet,base.group_user,1,1,1,1
access_product_product_hr_expense_user,product.product.hr.expense.user,product.model_product_product,base.group_hr_user,1,1,1,1
access_product_template_hr_expense_user,product.template.hr.expense.user,product.model_product_template,base.group_hr_user,1,1,1,1
access_product_uom_hr_expense_user,product.uom.hr.expense.user,product.model_product_uom,base.group_hr_user,1,1,1,1