Saturday, July 26, 2025
3 changes · saas-18.2
Resolved issues and error corrections
Printed Swiss payslips now show payroll rates in a cleaner format without unnecessary trailing zeros. This makes payslip documents easier for employees and payroll teams to read while preserving the same payroll calculations.
Original PR description
…d payslip In this PR we improve the rate display, which could include a lot of 0's after the coma. Forward-Port-Of: odoo/enterprise#90892
Very small negative amounts that round to zero now appear as 0.00 instead of -0.00 in Luxembourg electronic reports. This avoids confusing or misleading values in report outputs and keeps displayed totals cleaner for users.
Original PR description
float_repr(-0.00000001, 2)
formatFloat(-0.00000001, { digits: [16, 2] })
Before: "-0.00"
After: "0.00"
opw-4685953
Forward-Port-Of: odoo/enterprise#90992This fix makes an automated check for resizing calendar events inside Knowledge behave consistently. It reduces false failures during testing, helping keep releases stable without changing the user-facing calendar experience.
Original PR description
This commit fixes an indeterministic error in the knowledge_calendar_command_tour when a calendar view is embedded and an event is resized. The resize handler is only visible when hovering the event, which is required to actually be able to resize it. This commit merges both the "make resizer visible" step and the "resize the item" step into a single one as those actions should be done in one go, instead of separate steps (cf. the hovering state is kind of reset in-between the steps). Note: this matches the behavior of the CalendarView's unit tests helpers (`resizeEventToTime()`). runbot-error-163015 Forward-Port-Of: odoo/enterprise#91012