Thursday, March 26, 2026
6 changes · master
Enhancements to existing features
This update limits a potentially error-prone helper to test code only, reducing the chance of unexpected behavior in regular product code. The change is internal and should not affect everyday users, but it improves maintainability and reliability for future development.
Original PR description
The `DotDict` class can produce unexpected behaviour if used incorrectly. This commit moves this class so that it is only used in tests. task-4822364
Server logs can now include additional context when needed, making it easier for teams to understand what happened during specific operations. This should help support and operations teams investigate issues faster without changing normal user workflows.
Original PR description
In certain scenarios, server logs lack useful context-specific information. The purpose of this commit is to add the ability to use the keyword parameter `extra` to add context to the log.
This change moves HR-specific employee access rule logic out of the general system rules area and into the HR module where it belongs. It keeps the same behavior while making the codebase cleaner and easier to maintain.
Original PR description
Remove the hack for bypass inherits check in ir.rules which is specific to hr.employee model. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The survey completion confirmation now appears only for certification surveys. This reduces unnecessary prompts for regular surveys while keeping an extra safeguard for certification submissions.
Original PR description
Previously, a confirmation dialog could appear when finishing a survey outside of a live session, even when the survey was not a certification. This commit restricts the submit confirmation dialog to certification surveys only. For non-certification surveys, the submit button label is considered explicit enough, and no extra confirmation is required. Task-5241498
The Time Off module now uses a shared Odoo date formatting function instead of custom code. This keeps the displayed out-of-office end date consistent with the rest of the system and makes future maintenance easier without changing the user experience.
Original PR description
Before this PR, `outOfOfficeDateEndText` was using some custome code to format the date. This PR replace this code by a function from web/core that does exactly the same.
This update standardizes the display of percentage fields within the Swiss payroll module. Previously, percentages were represented as whole numbers, which has now been changed to fractional numbers (ratio of 1.0) and displayed using a dedicated percentage widget. This ensures consistent and accurate reporting for Swiss payroll calculations.
Original PR description
Generalised the definition of fields displayed as percentages in the Swiss payroll ocalization to be fractional numbers (ratio of 1.0) rather than whole numbers (ratio of 100.0), and used the percentage widget to display them all. task-5169522