Friday, May 30, 2025
12 changes · 17.0
Resolved issues and error corrections
Users can now remove link previews from messages even when the message itself cannot be edited. This makes message cleanup more consistent and gives users better control over shared content in conversations.
Original PR description
**Current behavior before PR:** Link Preview is deletable for only editable messages **Desired behavior after PR is merged:** Link Preview will be deletable for all messages task-[4690326](https://www.odoo.com/odoo/all-tasks/4690326) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The replenish wizard now opens correctly even if the default Buy route has been deleted. This prevents an unexpected error for inventory users and keeps replenishment workflows usable in customized setups.
Original PR description
Currently, an error occurs when the replenish wizard is unable to find the default 'Buy' route, which the user may have deleted. Steps to produce: - Install the `purchase_stock` module. - Activate…
Currently, an error occurs when the replenish wizard is unable to find the default 'Buy' route, which the user may have deleted. Steps to produce: - Install the `purchase_stock` module. - Activate `Multi-Step Routes` from Settings. - Navigate to `Inventory > Configuration > Warehouse Management > Routes (list)`. - Delete the `Buy` route record. - Create a new product without adding vendors or defining routes. - Click on the `Replenish` button. - Observe the error. `AttributeError: 'NoneType' object has no attribute 'id'` The issue occurs when attempting to access the `id` of the 'Buy' route `purchase_stock.route_warehouse0_buy` - [1], without verifying if it exists. If this route is missing, `self.env.ref(...)` returns `None` which leads to an `AttributeError`. This commit resolves the issue by checking whether the `purchase_stock.route_warehouse0_buy` route exists before attempting to access its `id`. This prevents errors when the route is missing. [1] - https://github.com/odoo/odoo/blob/58f4b01dda6ba2e67c21663399aab1c189f4a312/addons/purchase_stock/wizard/product_replenish.py#L108 Sentry-6275025957 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Archiving a document from the activity view now keeps the user’s selected activity filter in place. This prevents unrelated documents from appearing unexpectedly after moving an item to the trash, keeping the document list accurate and easier to manage.
Original PR description
To reproduce ============ - Go to Documents app - schedule some activities on different documents for Mitchel Admin and Marc Demo - Go to the activity view, and set filter to Activities assigned to Mitchel Admin - only documents with activities assigned to Mitchel Admin should be shown - select one of them and move it to the trash -> the filter won't be applied anymore, and all documents with activities will be shown Problem ======= after archiving a document, the `load` method is called without `searchParams` where `domain` should be defined, so an empty domain is used. Solution ======== in case domain is not defined, we should use the domain from `originalDomain` instead of an empty domain. opw-4354175 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Point of Sale Sales Details report now has validation to ensure totals are calculated correctly when a product has more than one tax. This helps prevent inflated base amounts in reporting, improving accuracy for sales and tax review.
Original PR description
Adds a test to ensure the Sales Details report computes the correct total base amount when products with multiple taxes are sold. This test covers a previously incorrect behavior where the base amount was summed multiple times for products with multiple tax lines, leading to inflated totals. Now, the report uses the accurate tax-excluded total to avoid duplication. Opw-4670643. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes an unstable automated test in the Mail app that could fail depending on timing. It makes the test more predictable, helping reduce false failures in validation pipelines without changing user-facing behavior.
Original PR description
The `subscribe to known partner presences` test ensures a bus subscription is sent when a new partner (whose presence needs tracking) is discovered. However, this test is prone to race conditions due…
The `subscribe to known partner presences` test ensures a bus subscription is sent when a new partner (whose presence needs tracking) is discovered. However, this test is prone to race conditions due to non-deterministic subscription timing: - `addChannels` is debounced and called once at the beginning (for the current user from session data), and again after `init_messaging`. This means the timing of the RPC affects the number of subscriptions: 1 if it's fast enough to fall within the first call, or 2 otherwise. - `forceUpdateChannel` is also debounced, so the final subscription depends on how these debounces overlap. Ultimately, the test only aims to verify that discovering a new partner or guest adds their presence to the subscription. Using the full flow introduces unnecessary points of failure. This commit rewrites the test to use `store.insert` instead, giving more control over the flow while preserving the test's intent. fixes runbot-161223,182043,182044 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 the spacing in the live chat channels menu so hover highlighting lines up cleanly with each menu item. It makes the channel management screen look more polished and avoids a small visual inconsistency for users.
Original PR description
Remove the extra space around the menu items in the hamberger menu in the channels kanban view task-4630807 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
Archiving documents now keeps the document list filtered correctly, so users continue to see the right set of files after an archive action. A test was added to help prevent this issue from returning.
Original PR description
added test opw-4354175
Documentation and clarification updates
This pull request records an individual contributor license agreement signature for elierwclik. It is an administrative legal update that enables their fixes to be accepted in future Odoo branches without affecting product functionality.
Original PR description
Required for fixes in 18.0+ branches
Miscellaneous changes
Due to floating operation result of calculation might have "x.000000001" form. This will make user unable to submit efaktur to coretax platform. To prevent this, we use `float_repr` to ensure 2 decimal places. opw-4745508 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#212186
Original PR description
Due to floating operation result of calculation might have "x.000000001" form. This will make user unable to submit efaktur to coretax platform. To prevent this, we use `float_repr` to ensure 2 decimal places. opw-4745508 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#212186
This pull request records Dorin Hongu's signed contributor agreement in the project documentation. It supports legal compliance for accepting contributions and does not change any product functionality.
Original PR description
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
There is a typo in the name of the Hebrew language. This commit fixes it. Task-4742567 Forward-Port-Of: odoo/odoo#212160
Original PR description
There is a typo in the name of the Hebrew language. This commit fixes it. Task-4742567 Forward-Port-Of: odoo/odoo#212160
### Before this commit: Empty paths in the config file are invalid but not verified, resulting in cryptic errors. ### After this commit: Empty paths are ignored, to prevent errors in the config. opw-4744154 Forward-Port-Of: odoo/odoo#209912
Original PR description
### Before this commit: Empty paths in the config file are invalid but not verified, resulting in cryptic errors. ### After this commit: Empty paths are ignored, to prevent errors in the config. opw-4744154 Forward-Port-Of: odoo/odoo#209912