Friday, July 11, 2025
10 changes · 18.0
Resolved issues and error corrections
The mail module now warns when activity types reference invalid models instead of automatically clearing those values. This avoids unintended data changes in stable versions while still flagging inconsistent configuration for follow-up.
Original PR description
Just warn models are invalid, but do not reset for stable. Data is not enforced hence no real issue with wrong models. Followup of odoo/odoo#156731 Forward-Port-Of: odoo/odoo#218549
This fix makes cash rounding details optional during electronic invoice generation. It prevents errors when the information is not provided, helping invoice exports continue reliably.
Original PR description
Recently in commit b033a87bbf38ed12364ebf2e3ce0cefb2670470f the UBL generation was improved to handle cash rounding better. I.e. a new key 'cash_rounding_base_lines' was introduced to the `vals` used in the generation. This commit makes it optional to avoid tracebacks in case it is forgotten to be added. task-None
Creating an invoice from a sales order for certain service products could fail if the automatically created project had been deleted first. This fix prevents that error by safely ignoring missing linked accounting records, allowing invoicing to continue as expected.
Original PR description
When creating an invoice from a sales order linked to a service-type product that auto-generates a project, deleting the project before invoicing caused an error: "Record does not exist or has been deleted." This fix filters `browse()` result using `exists()` to ensure that the linked distribution account still exists. Steps to reproduce: - Create a service product that creates a project on order - Add it to a sales order and confirm - Delete the project - Try to create an invoice → error occurs opw-4891937
The India state list now uses the official name “Odisha” instead of the outdated “Orissa”. This keeps contact address data aligned with current government naming and avoids confusion for users selecting Indian states.
Original PR description
<b>Steps to reproduce:</b> 1. Install the `Contacts` module. 2. Go to Contacts > Create a new contact. 3. Select country "India", then open the State dropdown. 4. Observe that "Orissa" appears instead of the updated name "Odisha". <b>Issue:</b> As per [Government of India guidelines](https://www.mha.gov.in/sites/default/files/2022-08/odishaAlterationAct2011%5B1%5D.pdf), the state name was officially changed from "Orissa" to "Odisha" in 2011. However, Odoo still uses the outdated name in the state selection. <b>Solution:</b> Update the name of the state from "Orissa" to "Odisha" in state records. <b>opw-4935633</b> Forward-Port-Of: odoo/odoo#218342
This change makes an automated mail test more stable by blocking external online and offline network signals during the test. It helps reduce false failures in Odoo's validation system, improving confidence in release checks without changing user-facing behavior.
Original PR description
Before this commit, the `show warning when bus connection encounters issues` test was sometime failing. [1] attempted to fix this issue and seems to have greatly reduced its frequence. However, the bus monitoring service still listens to the "offline" event. As a result, the test can still fails according to the runbot network condition. This commit fixes the issue by preventing the "online"/"offline" events during this test. fixes runbot-226443 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes a regression that prevented users from using menu icons in formats other than PNG. After the change, common formats such as GIF, ICO, JPEG, SVG, and WebP work again, restoring expected flexibility for customizing menus.
Original PR description
Description of the issue/feature this PR addresses: PR #135607 breaks support of image types other than `png` for menu icons. This puts back the support for previously supported image types. Current behavior before PR: You can't use a menu icon which has a type other than `png`. Desired behavior after PR is merged: You can use `gif`, `ico`, `jfif`, `jpeg`, `jpg`, `svg` and `webp` files like version `16.0`. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#218131
This fix removes a default grouping setting from attendance reports that caused spreadsheet pivot views to duplicate grouping information. As a result, users can insert attendance reporting data into spreadsheets without the previous integration error.
Original PR description
The attendance reporting action had search_default_groupby_name in its context, causing duplicated group_by entries in pivot views used in spreadsheets. This breaks spreadsheet insertion. We removed the default groupby to restore compatibility. Related Task: 4897934. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
When Peppol document reception is configured to use only a Documents folder, Odoo will no longer automatically select a purchase journal. This keeps the setup aligned with the user's chosen routing option and avoids unintended accounting configuration.
Original PR description
In the Peppol settings, you can choose to receive your documents in an accounting journal, a documents folder, or both. However, when we only select a folder, the compute method of the journal field will still choose a purchase journal by default. We don't want that. This fix makes sure that we only compute the journal when no folder has been set. no-task
Indian tax reporting now uses the official state name "Odisha" instead of the outdated "Orissa". This keeps reports aligned with Government of India naming guidelines and avoids confusion in compliance documents.
Original PR description
Issue: As per Government of India guidelines, the state name was officially changed from "Orissa" to "Odisha" in 2011. However, Odoo still uses the outdated name in report. Solution: Updated the records from "Orissa" to "Odisha". opw-4935633 Forward-Port-Of: odoo/enterprise#89947
This update removes an outdated payment filter that could no longer work after related search logic was removed. It helps prevent errors when handling online payment batch records, keeping payment workflows more reliable.
Original PR description
The aim of this commit is removing account_online_linked from the last domain which uses it. It couldn't work as we removed the search method. no task id