e-commerce icon indicating copy to clipboard operation
e-commerce copied to clipboard

[18.0][MIG] website_sale_product_minimal_price: Migration to 18.0

Open pablo-cort-s73 opened this issue 2 months ago • 2 comments

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__.py from 17.0.1.0.0 to 18.0.1.0.0.
  • Refactored the _get_sales_prices method in product_template.py to match the new Odoo API, now receiving website instead of pricelist and fiscal_position.
  • Updated test files to use the new odoo.fields.Command API 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.

pablo-cort-s73 avatar Oct 23 '25 08:10 pablo-cort-s73

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-git-bot avatar Nov 06 '25 14:11 OCA-git-bot

@OCA/e-commerce-maintainers Please, can you merge this PR?

Reyes4711-S73 avatar Nov 06 '25 15:11 Reyes4711-S73