Tuesday, March 18, 2025
2 changes · master
Enhancements to existing features
Sales order-related screens were simplified across several Odoo apps by removing redundant hidden fields, duplicate view customizations, and obsolete filters. This should make the views easier to maintain while preserving the same business behavior for users.
Original PR description
* drop useless invisible fields (rely on ORM fallback, and js field dependencies when possible) * clean and harmonize xpaths definitions. Prefer the use of simplified xpath expressions when possible. * clean attributes overwrite, prefer using the add/remove API. Also remove the useless overwrites defining the same value as the base view. * Clean and harmonize files indentation, remove useless `<data>` nodes. * Remove empty domains from search filters. * merge views when targeting the same parent view (some views were targeting specific groups in the past, but this logic has been deprecated and removed from standard code). * target the shared parent view (between quotes and orders) for shared content, instead of adding the same content in the two inherited views. Related PRs: * odoo/odoo#167023 * odoo/enterprise#63350 * odoo/upgrade#6817
The update aligns Planning tests with a related web change that offers archiving when deletion is blocked. This helps ensure the Planning app continues to behave correctly when users cannot delete records and need an alternative action.
Original PR description
This commit adapts JS tests according to the changes done in the related community PR: https://github.com/odoo/odoo/pull/200414 task-4610830