Daily updates from Odoo
Tuesday, July 15, 2025
11 changes · master
Enhancements to existing features
The wording in the IoT pairing code dialog was updated to make the process easier to understand. This helps users connect IoT boxes with less confusion and fewer support needs.
Original PR description
We improved the "use pairing code" dialog to make it clearer. Task: 4942391 Forward-Port-Of: odoo/enterprise#90164
The Web Studio test suite was updated to match a recent change in how monetary totals are displayed when no currency is set. This keeps automated checks aligned with the current behavior and helps prevent false test failures without changing the user experience.
Original PR description
This commit adapts a test which fails due to https://github.com/odoo/odoo/pull/216597 because monetary aggregates no longer show a "—" when no currency is provided. part of task-4886208
The planning calendar now preserves values entered in the form while using multi-create mode. This makes scheduling multiple planning items smoother and reduces the need to re-enter information.
Original PR description
This commit, adds into the state the value set into the form when we are in calendar multi_create view. task-4918909
The mock server used in automated tests now handles stored data in a way that better matches the real Odoo server. This makes tests across several apps easier to maintain and more reliable, with no direct change expected for end users.
Original PR description
*: calendar, hr_holidays, im_livechat, rating, website, website_livechat, website_slides, approvals, voip, whatsapp The goal of this commit is to make the Store in the mock server more like the actual store. This allows to add generic models without _to_store methods to be added to the store as well as allowing to follow more the same structure as the actual server. It adds support for: - _to_store_defaults method on models - _to_store now uses the current model - add method was split and we can now use _add_records_field like in the actual server - Store.attr, Store.one, Store.many can now support lists, and other Store.attr inherited object task-4789853
The Documents app has been updated to simplify an internal processing option related to saving data. This should help keep the code easier to maintain without changing the day-to-day user experience.
Original PR description
odoo/odoo#216133
Resolved issues and error corrections
Address validation in AvaTax could trigger translation warnings because the system could not reliably determine the user language in this case. The fix updates how translated text is handled, making AvaTax address checks more stable without changing business workflows.
Original PR description
Prior to this commit, a translation issue occurred due to the use of a list comprehension. The _get_translation_source function attempts to scan the local variables, but in the context of a list comprehension, only variables defined within the comprehension are accessible. As a result, variables like uuid and cursor were not available to the _get_lang function, ultimately leading to an error. We replaced the list comprehension with a standard for loop to ensure proper access to local variables. runbot-159883 Forward-Port-Of: odoo/enterprise#88651
This fixes rare cases where Hong Kong payroll payslip amounts did not match the HSBC autopay file because decimals were handled differently. The autopay export now aligns with the payslip rounding, reducing payment reconciliation issues.
Original PR description
Explanation: In some rare cases, the autopay amount in payslip and the amount in hsbc autopay file doesn't match. This is due to hsbc autopay files are trimming all the decimal places, and the amount in payslip are rounded. Forward-Port-Of: odoo/enterprise#89118
Unused code from an earlier spreadsheet version history approach was removed after the feature was refactored. This reduces maintenance risk without changing how users access or use version history.
Original PR description
Some leftover code was left from when we refactored the version history feature to load a new model instead of using undo/redo for the revisions. Task: [4942548](https://www.odoo.com/odoo/2328/tasks/4942548)
Helpdesk rating views now display when a rating was given instead of when the record was created. This makes customer feedback timelines clearer and avoids confusion when reviewing service performance.
Original PR description
Changed new field of view to show the rating date. Task-4023246
Code cleanup and technical improvements
This update aligns how multiple Odoo Enterprise apps handle common record update and default value operations. It is an internal cleanup intended to keep modules compatible with core platform changes and reduce future maintenance risk, with no expected direct change for end users.
Original PR description
odoo/odoo#218334
IoT Box communication is being standardized so both Community and Enterprise use the same action call. This reduces complexity and keeps Enterprise-specific connection options, such as websockets, available where supported.
Original PR description
This commit's goal is to make the communication with an IoT Box the simplest possible: no matter if we're community or enterprise, we always want to call `iot_http.action`. Protocols will depend on the implementations available. Longpolling for community, longpolling + websocket for enterprise. Community PR: odoo/odoo#218411 Task: 4936688