-
-
Notifications
You must be signed in to change notification settings - Fork 545
Open
Labels
Description
Odoo 18 Enterprise: website_sale_product_sort fails to install due to invalid QWeb and Settings view xpaths
Environment
- Odoo: 18.0 Enterprise
- Edition: Enterprise (not Community)
- Modules: Website, Website Sale (Enterprise)
- Affected module:
website_sale_product_sort(OCA / e-commerce)
Problem Summary
The module fails to install or upgrade on Odoo 18 Enterprise due to invalid inherited views that reference template structures removed or refactored in v18. These invalid xpaths cause hard validation errors during module installation and block further app installs.
Errors Observed
1. QWeb template inheritance error
Validation Error
Element ''
cannot be located in parent view
Root cause:
In Odoo 18 Enterprise, the website_sale templates no longer contain the
products_attributes_filters wrapper. The module still relies on class-based xpath selectors that no longer exist.
2. Settings view inheritance error
Validation Error
Element ''
cannot be located in parent view
Root cause:
res.config.settings was refactored in Odoo 18 Enterprise:
- Legacy
<setting id="...">anchors were removed or renamed - The module still anchors to removed setting IDs instead of stable
<app name="website">nodes
Steps to Reproduce
- Install Odoo 18 Enterprise
- Install Website and Website Sale
- Attempt to install
website_sale_product_sort - Module installation fails with view validation errors
Expected Behavior
The module installs cleanly on Odoo 18 Enterprise and:
- Allows configuration of default product sort criteria in Website → Settings
- Extends
website_saleproduct sorting without validation errors
Actual Behavior
- Module installation fails
- View validation errors block module installation
- Odoo UI is blocked during app install
Reactions are currently unavailable