Friday, July 4, 2025
10 changes · saas-18.1
Enhancements to existing features
Accounting users can now group the Chart of Accounts by account root using the Root option in search grouping. This makes it easier to review and organize accounts at a higher level without manual filtering or exports.
Original PR description
Before this commit:
- go to Accounting > Configuration > Chart of Accounts
- in the search bar, you cannot group accounts by account root.
After this commit:
- You can group accounts by account root ('Root').
We do this by implementing `_field_to_sql` for `account.account.root_id` which makes the field groupable.
task-none
Forward-Port-Of: odoo/odoo#217293Resolved issues and error corrections
This update makes automated checks for the website and HTML editor more reliable by waiting more consistently for editor events and link previews. It reduces random test failures in validation systems, helping teams get clearer feedback when changes are ready.
Original PR description
Forward-Port-Of: odoo/odoo#215168
Miscellaneous changes
This commit fixes this [runbot error](https://runbot.odoo.com/odoo/runbot.build.error/75847) which is triggered by a toolbar method called at an incorrect time in some instances. Sometimes the method could be called after the form view was exited. Which means that the iframe used by the mailing editor could trigger the method even though it is no longer in the DOM. This leads to a call to getSelection on a document that could no longer be displayed/present in the DOM. To fix this issue, whe
Original PR description
This commit fixes this [runbot error](https://runbot.odoo.com/odoo/runbot.build.error/75847) which is triggered by a toolbar method called at an incorrect time in some instances. Sometimes the method could be called after the form view was exited. Which means that the iframe used by the mailing editor could trigger the method even though it is no longer in the DOM. This leads to a call to getSelection on a document that could no longer be displayed/present in the DOM. To fix this issue, when the selection returned by the document is null (this.document no longer on the DOM), the method returns directly. task-4829204 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#212056
Follower invitation emails no longer show an extra divider between the header and message body. This small visual fix makes notifications look cleaner and less confusing for users receiving updates from leads, tasks, and similar records.
Original PR description
When adding an Odoo user as a follower to a lead/task/..., there are two separators between the message header and its body. This commit removes the extraneous separator. Steps to reproduce: - Open a lead/task/... - Add Marc Demo as a Follower - Toggle the option to have them notified task-4889715 Forward-Port-Of: odoo/odoo#217291
The Indian E-Waybill report now displays the invoice or document date in the Document Details section instead of the E-Waybill generation date. This prevents confusion when invoices are issued for past or future dates and keeps printed reports aligned with the actual business document.
Original PR description
- The E-Waybill report currently displays the E-Waybill generation date in The "Document Details" section of the report. Steps to reproduce: 1) Enable the Indian E-Waybill configuration from Settings. 2) Create an invoice with a past/future date. 3) Print the E-Waybill. 4) The "Document Details" section incorrectly shows the E-Waybill date. - This fix ensures that the document date is displayed instead of the E-Waybill date. task-4919913
The point of sale now opens the decrease quantity popup correctly when Belgian blackbox features are not installed. It also avoids showing that popup when staff are increasing an item quantity, reducing cashier confusion and checkout interruptions.
Original PR description
Before this commit, an error occurred when `pos_blackbox_be` was not installed and the system attempted to open the decrease quantity popup, due to a missing argument. Also, the decrease quantity popup was incorrectly shown when increasing the quantity, as `cid` was mistakenly used for comparison. opw-4914775 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#217349
This fixes how Odoo's internal web testing tools handle drag-and-drop data during simulated interactions. It ensures dynamically added data types are recognized correctly, reducing the risk of misleading test results for web features.
Original PR description
Before this commit, the 'types' property of datatransfers used in Hoot interactions was mocked to insert the initial types of the given 'items' and 'files'. However, this didn't account for the items added dynamically on the datatransfer object. The good thing is that it doesn't actually need to be mocked, since it already works with the given 'files' and 'items' types without having to override the 'types' descriptor. So the mock has been removed. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#217313
A frequently failing automated test for editing chatter comments has been temporarily skipped to keep validation runs stable. The underlying issue is a timing problem in test conditions and is expected to have very limited impact in normal customer use.
Original PR description
The test "Can edit message comment in chatter" fails often non-determinically on runbot. This happens because this test heavily uses the edit message feature, which has client-side code receiving…
The test "Can edit message comment in chatter" fails often non-determinically on runbot. This happens because this test heavily uses the edit message feature, which has client-side code receiving store data from both RPC returns and bus notifications. When CPU load is high which happens frequently on runbot, test shows race-condition where bus notifications are received much later than RPC return part and thus discuss state becomes wrong by having outdated data. This is an architectural issue that takes time to solve, so this test is skipped in the meantime. Note that while the problem occurs quite a lot on runbot in HOOT tests, in practice this happens quite rarely: bus notifications should be heavily throttled. Also HOOT test fails because of unfortunately case of receiving exactly outdated message body data before starting message edition. When message is being edited, any following store data with change of message body is ignored because the text in composer is intended to not change while editing the message. Kinda fixes runbot 227618
Printing Indian E-Waybills no longer fails when the expiry date is missing from the received data. The report also now shows the original document date in document details, helping users see the correct invoice-related date.
Original PR description
Steps to reproduce: Traceback occurs when printing the eWaybill. When the eWaybill expiry date is not present in the JSON response, any usage of date.strftime(...) caused a traceback. This fix ensures the date is checked before formatting to prevent such errors. Possible issue after the post migration of the database to saas-18.1 opw-4919575
This PR introduces new product-level codes for l10n_pe, in accordance with the latest updates from SUNAT: ### Withholding codes (detracciones): - Code `044`: Servicio de beneficio de minerales metálicos gravado con el IGV - Code `045`: Minerales de oro y sus concentrados gravados con el IGV These were added to the `l10n_pe_edi` module. ### Tariff fractions: 39 new values were added based on the SUNAT's updated list of tariff fractions for delivery guides. These were added to t
Original PR description
This PR introduces new product-level codes for l10n_pe, in accordance with the latest updates from SUNAT: ### Withholding codes (detracciones): - Code `044`: Servicio de beneficio de minerales metálicos gravado con el IGV - Code `045`: Minerales de oro y sus concentrados gravados con el IGV These were added to the `l10n_pe_edi` module. ### Tariff fractions: 39 new values were added based on the SUNAT's updated list of tariff fractions for delivery guides. These were added to the `l10n_pe_edi_stock` module. **Source:** https://cpe.sunat.gob.pe/sites/default/files/inline-files/AjustesValidacionesCPEv20250421.xlsx Forward-Port-Of: odoo/enterprise#87138