Daily updates from Odoo
Tuesday, August 5, 2025
15 changes · master
Enhancements to existing features
Spreadsheet pivot table values are no longer unnecessarily converted to text before processing. This improves data handling consistency and keeps autofill behavior working correctly with the newer value normalization system.
Original PR description
The values of the pivot table were always stringified with `toString()`. This is not necessary anymore, now that we have registries to normalize/sstringify the values. The autofill expected the values to be stringified, so we need to adapt it to the new behavior. Task: [4266072](https://www.odoo.com/odoo/2328/tasks/4266072)
Spreadsheet pivot table autofill has been adjusted to work with recent spreadsheet data handling updates. This keeps autofill behavior reliable when users work with pivot tables, especially with grouped values.
Original PR description
See https://github.com/odoo/odoo/pull/221845
The update refines the visual style of notification items in Discuss to make them clearer and easier to scan. This improves the day-to-day messaging experience with a small user-facing polish change.
Resolved issues and error corrections
This update fixes visual issues in Odoo Studio after a recent styling change. Sidebar headers and report editor undo/redo buttons now display correctly, helping users work with a more consistent interface.
Sale order previews for subscription purchases now work even when no salesperson is assigned. This prevents an error screen for administrators reviewing paid subscription orders, improving reliability in eCommerce subscription workflows.
Original PR description
**Steps to reproduce:** 1. Install sale_subscription, payment_demo and eCommerce 2. Go to Website → Configuration → Settings and clear the Salesperson field 3. Create a subscription product with…
**Steps to reproduce:** 1. Install sale_subscription, payment_demo and eCommerce 2. Go to Website → Configuration → Settings and clear the Salesperson field 3. Create a subscription product with recurring plan and publish it. 4. Place an order for this product as a portal user and complete payment. 5. Log back in as admin, open the related Sale Order, and click Preview **Issue:** A traceback occurs:- ```"ValueError: Expected singleton: res.users()"``` This happens in _prepare_partner_addresses because user_id is not set on the Sale Order. **Cause:** https://github.com/odoo/enterprise/blob/6b449769d4bf2cdf6517a026706fd6ea55832975/sale_subscription/controllers/portal.py#L233 The code calls has_group on order_sudo.user_id without checking if user_id exists, leading to an empty recordset and singleton error. **Solution:** Add a fallback to handle cases where user_id is not defined, defaulting to False for multiple_addresses_enabled. opw-4947508 Forward-Port-Of: odoo/enterprise#91013
This fix aligns ESG date range fields with the correct date-based behavior instead of datetime handling. It removes unnecessary browser console warnings without changing the visible user experience.
Original PR description
The widgets `esgDateRangeField` and `esgListDateRangeField` inherit respectively from `dateTimeField` and `listDateTimeField`. As their name implies, those widgets are made to handle datetime fields, whereas the esg widgets are used on dates. While it does not seem to make a functional difference, it produces a warning in the browser console. This PR makes the esg widgets inherit from the "date" counterpart instead. Forward-Port-Of: odoo/enterprise#91646
This fixes an issue where AI-related email template customization could fail when Odoo was used in a language other than English. The update makes the template override independent of translated text, improving reliability for multilingual customers.
Original PR description
Texts are translated before template compilation so xpaths that depend on text content fails on odoo instances that use language aside from EN. We are now searching for the div inside the content page beside the attachment_ids field to find the div to replace. OPW: 4964821 Forward-Port-Of: odoo/enterprise#90900
Users can now reorder folders within Company or My Drive without the system unnecessarily checking permissions for a parent folder that is not changing. This prevents avoidable errors and makes organizing document folders smoother.
Original PR description
Reproduce: 1/ Pick a folder under Company in the search panel 2/ Drag and drop it to reorder (still under COMPANY) No need to show/fetch rights of new parent folder when it is COMPANY or MY, overlooked in 939d7a3c. Task-4822908
Fixed an issue where editing a signing template could replace field popup titles with placeholder text. This keeps reused templates clear and prevents confusing labels such as custom placeholder values appearing where standard field names should be shown.
Original PR description
### Steps to reproduce:
- Create a document using a sign template.
- Add a new field or modify the placeholder of an existing one.
- Validate the changes.
- Notice title is replaced by the value entered in placeholder.
### Issue:
After editing a template that has already been used in a signed document, the title of each sign item popup is unexpectedly replaced with the value
entered in the placeholder for that item. This corrupts the template and results
in incorrect title of sign itme being shown when the template is reused.
### Cause:
The issue occurs because the title was being updated with the placeholder of that particular sign item.
### Solution:
Added a prop for title of sign item in SignCustomPopover so that we can make the title as name of the sign item or the type like ('Name', 'Text', 'Signature') rather than the placeholder of the sign item.
---
task-4872963
Forward-Port-Of: odoo/enterprise#91639
Forward-Port-Of: odoo/enterprise#90348Fixed an issue where activities configured on a reconciliation model were not added to the related bank statement line when the model was triggered. This helps teams reliably follow up on reconciliation tasks as intended.
Original PR description
On a reco model, you can set an activity that should be applied on the statement line where the reco model is triggered. Before this commit the activity was not set. task-4954201 Forward-Port-Of: odoo/enterprise#90853 Forward-Port-Of: odoo/enterprise#90540
The India reporting module now creates the GSTR1 report with the required access rights during testing. This prevents permission-related build failures and helps keep GST reporting checks reliable.
Original PR description
steps to reproduce: 1. Install l10n_in_reports module. 2. Run the test `TestReports.test_hsn_schema_change_gstr1_json`. this is required to avoid permission issues when creating the GSTR1 report in the test. build_error-223245 Forward-Port-Of: odoo/enterprise#90969 Forward-Port-Of: odoo/enterprise#89116
The stool demo bill of materials now uses the correct color attributes instead of mismatched material values. This keeps demo assembly steps clear and accurate for users evaluating or testing manufacturing workflows.
Original PR description
Versions -------- - saas-18.4+ Steps ----- 1. Install demo data; 2. open the Stool BoM; 3. check assembly steps. Issue ----- Mismatch between product attribute colors & materials. Cause ----- Commit f7ad739fd4b4 updated product attribute demo data. It replaced color with materials, and didn't account for attribute ordering being alphabetical instead of by time of creation. Solution -------- Change material attributes back to color attributes for stool demo data, and order attributes alphabetically to prevent confusion. Also provide unique references to product attribute value records to ensure the correct attribute value gets linked to the BoM lines. opw-4989005 Forward-Port-Of: odoo/enterprise#91611
The Sign option in Documents no longer appears in the general Action menu for list views or folders by default. This prevents users from seeing a signing action unless it has been explicitly enabled for the folder, reducing confusion and keeping workflows aligned with configuration.
Original PR description
**Before this PR:** 'Sign' option is present in 'Action' button even if its not enabled via folder action in list view. And it is available for folders too. **Technical reason:** 'Sign' button was binded in list view via this commit: https://github.com/odoo/enterprise/commit/4254542e8fb4ce3b2b9b46c624d86f7fcac8df7b We don't need binding as we have a seperate flow in documents **After this PR:** 'Sign' option will only enabled when enabled in folder action. And will not be present in 'Action' button. Task-4829548
The salary configuration form now leaves the state field genuinely blank when no state is chosen. This prevents new employee records from being created with an unintended default state, improving data accuracy.
Original PR description
When using the salary config, the state (private_state_id) shows that no state is set, but the selector actually thinks the first element is selected. So when the employee is created, the state is set anyway. This forces the selector to not have anything selected by default. Task: 4904118 Forward-Port-Of: odoo/enterprise#89958
In Luxembourg and Romania localization flows, choosing a free app will no longer automatically install Accountant unless Accountant is the selected free app. This prevents unwanted app installations and keeps customer setups aligned with their choices.
Original PR description
When choosing one app free in these countries, Accountant is automatically installed. This should only be the case when Accountant is the one app free. Fix: Change the auto-install dependencies to ensure that these modules are only installed when Accountant is already installed. Forward-Port-Of: odoo/enterprise#91662 Forward-Port-Of: odoo/enterprise#91627