odoo/enterprise#115800
Created by Olivier Renson (renol)
Closed
- label
- odoo-dev:17.0-hr_attendance-check_out_on_employee_archive_fix-renol
- head
- 10a58ffb4ef7f80bffb8ef008e8a76c94fae36ea
| 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] planning: employee archive access error
- Step to reproduce: with hr_attendance and planning installed, archive an employee with marc demo -> access error on planning records
- Cause: some records are recomputed after departure wizard closes using marc demo rights
- Solution: flush all pending planning.slot computations from the wizard using .sudo()