Friday, August 21, 2026
4 changes · 17.0
Resolved issues and error corrections
This fixes a filtering issue in mass mailing so temporary wizard screens are no longer treated as valid mailing targets. It helps prevent users from selecting unsuitable internal setup models when preparing mailings.
Original PR description
The search function ` _search_is_mailing_enabled` mistakenly used `model.is_transient()` (where the model is the `ir.model` record itself) to filter the transient models, which always returns `False` since `ir.model` is a regular persistent model. As a result, transient models (wizards) were never filtered out. This commit fixes it by using`self.env[model.model].is_transient()` to call `is_transient` on the actual model. Task-6458883 Forward-Port-Of: odoo/odoo#282783
This fix prevents images in email templates from being duplicated when converted for Outlook compatibility. It helps ensure saved mailings display the intended single image instead of creating extra copies in Outlook-specific HTML.
Original PR description
Problem: An `img-fluid` image ended up duplicated twice inside `[if mso]` comments instead of once when converting a mailing body to inline HTML. `classToStyle` resets the image's `width` attribute back to `100%` after the img-fluid fix already hid it and added its Outlook clone, making it match `enforceImagesResponsivity`'s selector again and get duplicated a second time. Solution: Mark images already handled by the img-fluid fix with a dedicated `mso-hidden` class and exclude them from `enforceImagesResponsivity`'s selector. Steps to reproduce: - Add an image in a new email template. - Set its width to "100%". - Save. - Observe the saved HTML has two mso comments for one image. opw-6411348 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents the SIRET number already entered on a French company contact from being overwritten during PDP registration. It helps keep official company identification data accurate and avoids manual correction after registration.
Original PR description
Backport https://github.com/odoo/odoo/commit/5e7c9ad5af3ee36e5e93091d84aa4893ae2eaa38 The SIRET value on the contact form should not be overwritten when registering with the PDP. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update replaces an older loop style with the preferred clearer form in core background service code. It has no expected impact on day-to-day functionality, but helps keep automated quality checks passing and the codebase easier to maintain.
Original PR description
Ruff checks on runbot flagged `while 1:` Preferred syntax is to use `while True` [UP048](https://docs.astral.sh/ruff/rules/while-one) runbot-945983