odoo/odoo#264977
Created by fw-bot
Merged
at 1d83afab413fef3b8dc5360002e03e63ba3088ed
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: (runtime 1272s)
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- ci/l10n: (runtime 20s)
- ci/documentation: (runtime 999s)
- ci/design-theme: (runtime 2101s)
- label
- odoo-dev:saas-19.1-17.0-hr_attendance-check_out_on_employee_archive_fix-renol-526656-fw
- head
- ae49dc341403d218a735b77763f7bd3a62738873
- merged
- 1 month ago by Olivier Renson (renol)
| odoo/odoo | odoo/enterprise | |
|---|---|---|
| 17.0 | #260566 | #115800 |
| 18.0 | #264053 | |
| saas-18.2 | #264101 | |
| saas-18.3 | #264450 | |
| saas-18.4 | #264487 | |
| 19.0 | #264518 | |
| saas-19.1 | #264977 | |
| saas-19.2 | #265042 | |
| saas-19.3 | #265072 | |
| master | #265089 |
[FIX] hr_attendance: check out on employee archive
-
Attendance checkout
- Step to reproduce: with attendance installed and an employee checked in, archive that employee by HR user. If missing attendance rights, the employee will be archived but not checked out from its ongoing attendance.
- Cause: if no role set for Attendance (default), no permission to update the employee attendance while archiving.
- Solution: using sudo method so that any user with sufficient rights to archive an employee, can trigger check out of the corresponding attendance.
-
Planning access error (fixed in 18.0 by #219395)
- Step to reproduce: with attendance and planning installed, archive an employee having planning slots. If missing planning rights, an access error is raised
- Cause: on employee archive, the corresponding planning.slots are updated and some fields recomputed with insufficient rights.
- Solution: using sudo method for recompute.