summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorLucas Lefèvre <lul@odoo.com>2019-03-01 14:30:39 +0000
committerLucas Lefèvre <lul@odoo.com>2019-03-01 14:30:39 +0000
commita8ab3063e88537b33b9947971f4e3bf3892d4ced (patch)
tree229fcdf79cf8a2a38cbdaafeb389682e5d557951 /addons/web/static/src/js
parentec27173d59a048b2cc66523b3fa46c6dae170df0 (diff)
[FIX] hr_holidays: Allow Team leader to approve
Currently, a Team leader can't approve a leave of an employee in his team if the leave type requires an allocation. The reason is the `ir.rule` for `base.group_user` restricting allocation read access to only your own allocation (`[('employee_id.user_id', '=', user.id)]`) There are no `ir.rule` for group Team leader. Therefore, a team leader can't read allocations for his team members. Fix: add an `ir.rule` to allow a team leader to read allocations of employees in his team. + add associated tests
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions