Daily updates from Odoo
Monday, February 3, 2025
12 changes
1 change
Resolved issues and error corrections
Users can now group tasks by project in the Gantt view without encountering an error. This restores expected project planning behavior and prevents interruptions when reviewing tasks across projects.
Original PR description
Step to reproduce: - Go to the Project module. - Open all tasks - Switch to Gantt view. - Group tasks by Project. - Observe the traceback error. Cause: - The error occurred after merging this [commit](https://github.com/odoo/odoo/pull/194673/commits/5c2e8c58290571a9d8e59e2602db6493b381945e), This change caused the `filter_domain_leaf()` function to return a `DomainBool` object, leading to the TypeError when attempting to use len() on it in the `_group_expand_project_ids` method. Solution: - To fix this, the `filter_domain_leaf()` output was wrapped with `list()`, ensuring that filtered_domain is always a list and allowing the safe use of `len()`. task-4521684
11 changes
Resolved issues and error corrections
The point of sale now handles currencies that do not use decimal places without failing during product sales. This prevents checkout errors for businesses operating in zero-decimal currencies and keeps sales processing reliable.
Original PR description
Before this commit, if a currency had zero decimal places, it would cause an error when selling products. opw-4543742 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Point of Sale now loads only categories that contain products, instead of showing every configured category. This keeps product screens and self-order menus cleaner and easier for staff and customers to navigate.
Original PR description
Before this commit: ==== - All POS categories were being loaded, even if they had no associated products. After this commit: ==== - Only categories linked to products are loaded. Task-4517979
This fixes an error that could appear when exporting products and selecting related stock information from the export dialog. Users can now export these nested product details without the list filter being incorrectly applied to unrelated data.
Original PR description
**Steps to reproduce**
1. Have Stock and Sales installed.
2. Go to the Sales list view of products, have more than 1 page of products.
3. Select all the products on the current page by checking the checkbox
on the first line. After that, click on "Select all" to select all
products.
4. Actions > Export
5. Select "Products" (`product_variant_ids`) and then "Products/Stock Quant"
(`stock_quant_ids`).
`ValueError: Invalid field stock.quant.sale_ok in leaf ('sale_ok', '=', True)`
**Change**
Only use the domain of the list view to filter fields when the export dialog
is opened. The domain should only be used for that and not when `getExportFields`
is called when clicking on one of the children fields of the root model.
opw-4408457Fixes an issue where refreshing a form after moving between records could reload the originally opened record instead of the current one. This keeps users on the correct record and avoids confusion or accidental work on the wrong item.
Original PR description
From a list or kanban view with several records, open a record in form view. Then use the pager to navigate to another record. From this point, execute the `soft_reload` client action (e.g. call a python method from a view button, which returns that client action). This client action is supposed to reload the current controller (the form view in this case), without reloading the whole webclient. Before this commit, the form was indeed reloaded, but the reloaded record was the one we opened first, not the one we reached after navigating with the pager. With this commit, the correct record is reloaded. Issue spotted for task-3935688 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 fix updates report links in periodic digest emails so they use the current Odoo URL format. Users clicking “Open Report” links from digest emails will no longer hit missing-action errors across affected apps such as CRM, Sales, Accounting, Projects, Recruitment, Point of Sale, and eCommerce.
Original PR description
Some URLs in the digest emails are currently broken due to an outdated URL format. ### Steps to reproduce * Install `digest` and `crm` modules * Go to Settings > Technical > Digest Emails * Select the "Your Odoo Periodic Digest" digest and send it * Check the sent email and click on any of the "Open Email" links You should encounter an error indicating that the action does not exist. Although the reproduction steps use the `crm` module as an example, this issue occurs with all the modules listed in the title. ### Cause The "Open Report" URLs were not updated to account for the new URL format. opw-4405288 opw-4502625
This fixes an issue where a delivery removed from a wave after its quantity was set to zero was left without a new wave assignment. Affected warehouse operations now remain properly grouped, helping teams avoid lost or unmanaged delivery work during wave validation.
Original PR description
Steps to reproduce the bug:
- Enable the multi-step route.
- Go to the Delivery Operation Type:
- Enable "Automatic Batches". - Enable "Wave Grouping". - Product Category: All
- Create two storable products: "P1" and "P2".
- Create a first delivery:
- One unit of P1.
- Mark it as "To Do" → a wave transfer is created.
- Create a second delivery:
- One unit of P2.
- Mark it as "To Do" → it is added to the first wave.
- Go to the wave:
- Update the quantity of P2 to 0.
- Validate the wave
Problem:
The picking of P2 is detached but not linked to a new wave.
opw-4444263Cancelling POS order lines now sends the required information to produce a proper kitchen ticket instead of an empty or incomplete receipt. This helps staff clearly see cancelled items and avoids confusion during order preparation.
Original PR description
steps to reproduce: === - open POS - make an order - click on order - open this order - delete order lines - click on order (negatives qty) Issue: === - insufficient data to display in receipt fixed: === - configured data required to print task: 4507218
This fix prevents errors when exporting selected products that use inherited property fields. It helps users complete product exports reliably without encountering a traceback.
Original PR description
Try to export one selected product.product generate a traceback due to the `_get_property_fields` that doesn't manage inherited properties. opw-4438752
The translation button is now visible again when editing report source files in Studio. This lets users translate report field labels as expected, avoiding confusion and restoring an important workflow for multilingual businesses.
Original PR description
Version - 18.0 Problem - The translation button in the studio reports is hidden/ not accessible to the customer Steps to reproduce- 1. Open Sales app > Go to the Studio view > Select Reports from the menu > Open any report among the listed ones 2. On the left hand side - in the studio editor select "Edit Source" 3. On the Edit source file - In the initial version there used to be an EN (Translation button) for them to translate the display field names opw-4417402
This fix ensures Italian Point of Sale orders correctly handle products whose prices exclude tax. It improves the accuracy of receipts, order totals, and related accounting documents when tax is added at checkout.
Digest emails now use the updated link format so users can open reports directly from their emails without hitting missing-action errors. This restores expected access to report links across affected business apps such as accounting, helpdesk, and website sales dashboards.
Original PR description
Some URLs in the digest emails are currently broken due to an outdated URL format. ### Steps to reproduce * Install `digest` and `crm` modules * Go to Settings > Technical > Digest Emails * Select the "Your Odoo Periodic Digest" digest and send it * Check the sent email and click on any of the "Open Email" links You should encounter an error indicating that the action does not exist. Although the reproduction steps use the `crm` module as an example, this issue occurs with all the modules listed in the title. ### Cause The "Open Report" URLs were not updated to account for the new URL format. opw-4405288 opw-4502625