Daily updates from Odoo
Thursday, May 28, 2026
3 changes · 19.0
Resolved issues and error corrections
This update improves the performance of account report sheets by streamlining CSS styling and reducing unnecessary DOM calculations. By utilizing CSS variables and simplified selectors, the changes minimize visual rendering impacts, particularly on large tables, resulting in smoother user experiences.
This update resolves an issue preventing Belgian employees on flexible work schedules from taking multi-day leave. The fix ensures that the system correctly handles flexible schedules, eliminating an error that previously prevented leave validation. This improves the functionality for employees utilizing flexible working arrangements.
Original PR description
## Steps to reproduce: - Install l10n_be_hr_payroll module - Create a flexible working schedule and set the company to the Belgian company - Create an employee and assign the created schedule to him - Try to take a multi-day leave for this employee - Notice number of days is 0 - Try to validate the leave - An exception is raised 'The following employees are not supposed to work during that period' ## Cause: When fetching the work intervals for a belgian flexible employee we first fetch the normal work intervals then we call the same method but to filter the time credit attendance and since for the flexible employee there are not specific attendances we return the same normal work intervals and it will subtract those from the main work intervals which will result in an empty intervals to be returned ## Fix: Check if the working schedule is flexible and if so we don't check the time credit attendances at all. opw-6237642
This update fixes an issue where expected working hours displayed in the Attendances Gantt view were inaccurate for employees with flexible schedules, particularly when browsers were set to non-UTC timezones. The change ensures accurate hour calculations based on the user's local timezone, leading to more reliable attendance reporting.
Original PR description
Steps to reproduce: 1. Ensure your browser is in a non-UTC timezone (e.g. Europe/Zurich) 2. Set an employee to have a flexible working schedule 3. Enter the Attendances app 4. When hovering over the employee in the gantt view, the expected hours do not match their working schedule When we calculate the expected hours for the Gantt view in attendances, we calculate this based on an incorrect number of attendance intervals given from _attendance_intervals_batch(). To ensure that we recieve accurate intervals, we need to ensure that we calculate intervals based on the correct date range with respect to the browsers timezone, instead of the UTC date range. [opw-6175441](https://www.odoo.com/odoo/my-tasks/6175441?debug=assets) Forward-Port-Of: odoo/enterprise#116807