Wednesday, May 31, 2023
2 changes · master
Resolved issues and error corrections
This fixes an internal automated test for employee time off by running it on a fixed date when the employee is expected to work. It helps prevent false build failures and keeps quality checks stable without changing user-facing behavior.
Original PR description
Use freeze_time to ensure the tour runs on a date where the employee is supposed to work. Fixes runbot build error: 21683
Fixed an issue where inactive employees could appear without avatars in the Planning Gantt view. Avatars are now retrieved from employee resources, so schedules remain visually clear even for inactive staff records.
Original PR description
Before this commit when employee is non active gantt view does not display its avatar because progress bar for non active employees is undefined and here we tring to get employee from its progress bar. So this commit take employees from its resources instead of progress bar to get proper result when progress bar is not defined. task-3187910