Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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`
- Loading branch information