Daily updates from Odoo
Friday, July 18, 2025
9 changes · master
Enhancements to existing features
This update removes unnecessary formatting code in several JavaScript screens and uses the platform's built-in translation handling instead. Users should see no functional change, but the code becomes easier to maintain and less prone to translation-related issues.
Original PR description
On the JavaScript side, the main use case for sprintf used to be interpolating values inside translated strings. However, ever since version 17.0, this has been handled directly by _t. This commit gets rid of occurrences of sprintf that can easily be simplified to either a call to _t or a template string. Community: https://github.com/odoo/odoo/pull/216373
Online banking synchronization no longer stores or sends the old encrypted connection data because that information is now managed in Odoofin. This reduces duplicated sensitive data handling while keeping the synchronization flow aligned with the external service.
Original PR description
provider_data contains the encrypted info about the connection. It's not used anymore, as the information is stored on Odoofin. We remove the field and the data passed through the requests. task-4619128 Odoofin PR: https://github.com/odoo/odoofin/pull/409
This change updates the Avatax sales test coverage so it stays aligned with new section line behavior on sales orders and invoices. It helps ensure down payment calculations continue to work correctly when section totals and print detail controls are used.
Original PR description
Section lines on Sale order and Invoice lines now support: - a `total`column that displays the total of the lines under the section - print details toggle to control whether the section appears on the backend, reports, and portal. See also: https://github.com/odoo/odoo/pull/208515 Task-4669991
Resolved issues and error corrections
Renaming an employee no longer fails when the user lacks permission to rename the related document folder. This prevents unnecessary interruptions in HR workflows while keeping document access controls intact.
Original PR description
When an employee is renamed, it tries to rename the folder but if you don't have the rights on the folder, it raises an error and prevent you from renaming. Forward-Port-Of: odoo/enterprise#90269
This update fixes an automated test for the Knowledge app's command tour by making it find the clipboard copy button more reliably. It helps keep quality checks stable so valid updates are less likely to be blocked by inconsistent test behavior.
Original PR description
This commit fixes an issue with the embedded clipboard steps in the commands tour. The selector for the problematic steps was too specific as the copy button isn't always the 1st button. runbot-114522 task-4748626 Forward-Port-Of: odoo/enterprise#89496 Forward-Port-Of: odoo/enterprise#80845
Social post previews now use the correct preview content source after a recent editor change. Links in previews also keep the behavior expected by the Social app, preventing incorrect link handling before publishing.
Original PR description
This commit fixes an issue with a recent change done in 93aded56aa4f5623dfd4a984c4e52d1a9eac71a2. This commit changed the HtmlField used from the old web_editor to the new html_editor. Following this change the getter was wrongfully kept with the old name, which is what this commit is correcting. This commit also fixes an issue with link retargetting in social previews. The issue is that the links inside the HtmlViewer are retargetted to follow a specific structure which doesn't suit the social module needs. It creates an extension of the HtmlViewer that replaces itself in the components of FieldPostPreview. This extension replaces the retargetLink method to an empty function. task-4950837
This fix restores the Mexican EDI payment method field on bank statement lines so users can edit it during reconciliation. It corrects a missing field in the view, helping businesses keep payment information accurate for Mexican electronic invoicing requirements.
Original PR description
Since https://github.com/odoo/enterprise/commit/2335c953723dce66af8811fdfbfd5b811d42b109 The field l10n_mx_edi_payment_method_id is no longer available on statement lines to be edited by the end user. Forward-Port-Of: odoo/enterprise#90195
The manufacturing shop floor test setup now uses dedicated test warehouse, company, and manufacturing order naming data. This prevents demo data from interfering with automated checks, helping keep quality validation stable without changing user-facing workflows.
Original PR description
This commit modifies the MO sequence as defined in the test's setup from "WH/MO/" to "WH/TEST/MO", this way, there won't be any name's conflict with MO created by demo data. Runbot build error: [223328](https://runbot.odoo.com/odoo/error/223328) Forward-Port-Of: odoo/enterprise#89649
Code cleanup and technical improvements
The checkout page code in Website Sale Ups has been modernized without changing the shopping experience. This keeps the checkout flow aligned with Odoo's newer frontend framework, making it easier to maintain and evolve safely.
Original PR description
task-4737884 Community PR: https://github.com/odoo/odoo/pull/206672