Tuesday, January 21, 2025
1 change · saas-17.4
Resolved issues and error corrections
This fix ensures time off allocation approvals follow the intended approval responsibilities. Managers and time off officers now receive the right ability to approve or validate allocation requests, reducing incorrect access and approval delays.
Original PR description
- fix the `hr_leave_allocation_rule_employee_update` rule to include `('manager','both') in validation_type` instead of `hr` as those are the types where the emoployee's manager should be able to update
- fix `_check_approval_update` function to match the designed access rules where TOO only approve `hr` and validate `both` and manager approvre `manager, both`
Task: 4432503
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr