Daily updates from Odoo
Monday, May 4, 2026
4 changes · master
Enhancements to existing features
This update enhances how Odoo listens for IoT events by simultaneously checking HTTP and WebSocket connections. This ensures faster response times, especially when the connection to the IoT box is weak, and prevents duplicate callbacks. The WebSocket timeout is also extended for more reliable event monitoring.
Original PR description
This commit changes the behaviour of `iot_http_service.onMessage`. Previously, it would listen only via HTTP to the `/event` route on the IoT box. Only if this caused a network error would it start to listen for websocket messages instead. In a scenario where the client has a weak connection to the IoT box but a good connection to the DB, this could result in delayed responses. After this commit, both the `/event` call and the websocket message subscription are done as soon as `onMessage` is called. The first one that returns a result will abort the other, preventing callbacks from being called twice. In addition, the websocket will no longer timeout after 6 seconds when being used to listen for events.
This update simplifies the payroll dashboard by consolidating multiple export code warnings into a single, relevant alert. Previously, users saw several unrelated warnings, creating confusion. Now, the dashboard provides clearer, more actionable feedback to payroll managers regarding time off export codes.
Original PR description
If applied, this commit will consolidate multiple export code alerts into a single warning that only triggers for work entry types actually used in the timeoff.
Why:
Previously, the payroll dashboard displayed up to four separate warnings regarding missing or incorrect export codes. This created unnecessary noise. By merging these into a single, context-aware alert, the dashboard remains clean and provides more actionable feedback to the payroll manager.
What:
Replaced the four separate export code validation checks with a single unified check.
Task-5979681This update allows businesses to choose the frequency of their 274XX withholding tax reports – either monthly or quarterly. The reporting frequency is determined by the company's withholding tax amount, with smaller companies needing quarterly reports and larger companies needing monthly ones. This change improves reporting flexibility and compliance.
Original PR description
The frequency of the 274xx form depends on the withholding tax amount the company has to pay. Basically small companies have to do it for each quarter while big companies must do it each month. This commit adds a setting to choose the frequency of the declaration between monthly and quarterly. task-5977723
This update implements a crucial gross up calculation for Indonesian payroll, ensuring accurate reporting and compliance. It also includes adjustments to insurance rules and a fix for a parameter related to Japanese payroll, enhancing the overall functionality of the HR payroll module. This change supports Indonesian business operations.
Original PR description
- Add the gross up calculation for indonesia payroll - Move insurance rule to new category BIK - Fix starting month of JP rule parameter task-[5033626](https://www.odoo.com/web#model=project.task&id=5033626)