summaryrefslogtreecommitdiff
path: root/addons/hr_presence/__manifest__.py
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2021-03-29 08:02:44 +0000
committerThibault Delavallée <tde@odoo.com>2021-03-29 12:57:32 +0000
commit43bf5a5f048115a94eecc7a23a7e3fea119ac76c (patch)
treed9aca63d1cdc132bfb205425519d5c8ae27a12a0 /addons/hr_presence/__manifest__.py
parent157eee07ba74de1dad30510a85411eeff2b2dcf1 (diff)
[FIX] calendar_sms, hr_presence: fix broken acls update on sms.template
odoo/odoo#64626 attempt at improving sms.template rules seems quite broken * do not restrict system group to calendar.event: this makes no sense. With this fix admins can now only use templates being linked to calendar event if calendar_sms is installed which is not really smart. Not sure what was the exact original purpose; * ir.rule in hr_presence has no use on hr.manager group if they do not have any access through access rules. Indeed they are currently restricted to read access as all standard internal users; Task ID-2191254 COM PR odoo/odoo#68445 ENT PR odoo/enterprise#17340 closes odoo/odoo#68465 X-original-commit: 7c4c20a6be78c98e44fcc580b54a12110d238a65 Related: odoo/enterprise#17348 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/hr_presence/__manifest__.py')
-rw-r--r--addons/hr_presence/__manifest__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/hr_presence/__manifest__.py b/addons/hr_presence/__manifest__.py
index eac227f7353..e854ce7eda7 100644
--- a/addons/hr_presence/__manifest__.py
+++ b/addons/hr_presence/__manifest__.py
@@ -19,6 +19,7 @@ Allows to contact directly the employee in case of unjustified absence.
'depends': ['hr', 'hr_holidays', 'sms'],
'data': [
'security/sms_security.xml',
+ 'security/ir.model.access.csv',
'data/ir_actions_server.xml',
'views/hr_employee_views.xml',
'data/sms_data.xml',