Friday, July 4, 2025
5 changes · 18.0
Resolved issues and error corrections
This fixes confusing display issues when users select property fields or group records by a property. Separators are no longer shown where they should be hidden, and grouped list views keep column names clear instead of adding the parent name.
Original PR description
Bug 1 ===== When inserting properties in a domain, or in the server action form view, the property separator should not be visible. Don't show separator in group by. Bug 2 ===== Name change in list view after grouping by a property 1. Add a property in the list view 2. Group by a property => The name of the parent is added in the column. Task-4896271
Accounting menus for analytic accounting are now hidden when the feature is turned off in company settings. This avoids showing users options that are not available for their company configuration.
Original PR description
Purpose ------- This fixes a visibility issue in the Accounting menus: analytic menus were still displayed even when analytic accounting was not enabled in the company settings. Changes ------- - Applied correct group to hide the menus when analytic accounting is disabled. - Ensured consistency across all related menu entries. How to test ----------- 1. Go to Settings > Companies > Your Company. 2. Disable the "Analytic Accounting" checkbox (under Accounting features). 3. Go to the Accounting app. 4. The "Analytic Accounts" and related submenus should now be hidden.
The website editor now handles duplicate page view records safely instead of crashing when opening a page. This helps administrators and editors keep working even if a website view was accidentally duplicated with the same identifier.
Original PR description
When multiple `ir.ui.view` records exist with the same key (e.g., due to duplication), it can lead to a singleton error. **Steps to reproduce:** 1. Install the website module 2. Go to `Settings >…
When multiple `ir.ui.view` records exist with the same key (e.g., due to duplication), it can lead to a singleton error. **Steps to reproduce:** 1. Install the website module 2. Go to `Settings > Technical > User Interface > Views`. 3. Find and duplicate the **Home** view for **My Website** (same key). 4. Open the website home page in Editor mode. **Error:** `ValueError - Expected singleton: ir.ui.view(2776, 2774)` **Cause:** In `viewref()`, it uses `filter_duplicate()` to filter for the most suitable view, but it may return multiple views if more than one match the criteria. - [1] **Ref:** At [2], system uses `limit=1` in `_view_obj()` to ensure only one view is returned, even if duplicates exist for the same key. [1]: https://github.com/odoo/odoo/blob/edfa37271a0015a0d4acb17e6985a87e707e5f33/addons/website/models/website.py#L1228-L1230 [2]: https://github.com/odoo/odoo/blob/51fcbd211d2b1abf4b93becedbcbb9e03002cdd6/addons/web_editor/models/ir_ui_view.py#L326 **Fix:** This commit ensures that the result is a record set with at most one view and preventing singleton-related errors. sentry-6223988092 Forward-Port-Of: odoo/odoo#213113
This fixes a minor typo in the Malaysia e-invoicing extension that helps distinguish credit notes from refunds in the code. The existing behavior was already working, but the cleanup reduces confusion and helps prevent future maintenance mistakes.
Original PR description
Fixes a small typo in the code which makes the distinction between credit note and refunds. Note that the code still works with the typo; which explains why the tests were green. But it's a weird line so better clean it up. In 18.1+ it's being fixed during the forward port of the commit that introduced the typo --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents an error when opening Studio from the Documents list after creating a shortcut to a file. Users can now continue customizing Documents with Studio without being interrupted by a crash in this workflow.
Original PR description
Steps: - Install `documents` and `studio` - Open documents, go to list view - Select a random file and 'Create a shortcut' via the actions - Try to open studio - traceback opw-4900667