Thursday, October 30, 2025
2 changes · saas-18.2
Enhancements to existing features
VoIP now tries to unregister a browser tab when it is closed and shortens how long unused phone registrations remain active. This helps customers avoid hitting provider registration limits when users have multiple Odoo tabs open.
Original PR description
Some providers like OnSIP allow for a limited number of registrations per user. This is a problem in Odoo because each tab opened creates a new registration for one hour. This commit mitigates the problems in two ways: - Sends an "unregister" request onbeforeunload to try to invalidate the registration upon closing the tab. - Reduces the TTL of registrations so that they get invalidated quicker in case the unregistration failed. Forward-Port-Of: odoo/enterprise#98305 Forward-Port-Of: odoo/enterprise#97963
Resolved issues and error corrections
This fix ensures Belgian payroll stops paying public holidays that fall during long-term sick leave after the legally defined 30-day period. It helps payroll teams calculate employee pay more accurately and stay aligned with Belgian rules.
Original PR description
Bug: In Belgium, after 30 calendar days of sick leave, all public holidays during the sick leaves are no longer paid. But here they were still being paid. Cause: The method that was checking what to do about public holidays was never seeing public holidays since they were already changed to their corresponding work entries at the work entry generation. Fix: Add the public holidays in the context and change the condition for checking if the current leave is actually from a public holiday or not. Task: 3864585 Forward-Port-Of: odoo/enterprise#98292 Forward-Port-Of: odoo/enterprise#95178