e-commerce
e-commerce copied to clipboard
[18.0][MIG] website_sale_product_minimal_price: Migration to 18.0
Migration to 18.0
This commit migrates the website_sale_product_minimal_price module to Odoo version 18.0.
Main changes:
- Bumped the module version in
__manifest__.pyfrom 17.0.1.0.0 to 18.0.1.0.0. - Refactored the
_get_sales_pricesmethod inproduct_template.pyto match the new Odoo API, now receivingwebsiteinstead ofpricelistandfiscal_position. - Updated test files to use the new
odoo.fields.CommandAPI for creating and linking records, replacing the old tuple-based syntax. - Improved tour test selectors for better reliability and compatibility with Odoo 18.0.
- Updated QWeb templates to use new variable names and sorting logic for product attribute values, ensuring correct display and order by minimal price.
This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖
@OCA/e-commerce-maintainers Please, can you merge this PR?