summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorLucas Lefèvre <lul@odoo.com>2019-03-04 16:06:33 +0100
committerYannick Tivisse <yti@odoo.com>2019-03-19 09:35:31 +0100
commita9f97a2c4342358c388558f0bf9ecc8ab787f399 (patch)
treec9e414f046d57ed443d2903ec7ab4015221212e3 /addons/web/static/src/js/views/basic/basic_controller.js
parentca5b1a8fe63f627de5a9ff2ba2db98308b8464a1 (diff)
[FIX] hr_payroll: Make payroll groups imply holiday groups
Purpose ======= Currently, groups `hr_holidays.group_hr_holidays_[user|manager]` and `hr_payroll.group_hr_payroll_[user|manager]` are independant. A member of payroll groups is not able to approve/refuse a leave. This is a problem as they should be able to approve/refuse leaves before generating payslips. This is the point of `hr.benefits`: a global way of managing attendances and leaves before generating payslips. Specification ============= Payroll groups should imply the corresponding holiday group. 1. User `hr_payroll.group_hr_payroll_user` implies `hr_holidays.group_hr_holidays_user` 2. Manager `hr_payroll.group_hr_payroll_manager` implies `hr_holidays.group_hr_holidays_manager`
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions