[18.0][MIG] website_sale_product_minimal_price: Migration to 18.0#1124
Open
pablo-cort-s73 wants to merge 25 commits intoOCA:18.0from
Open
[18.0][MIG] website_sale_product_minimal_price: Migration to 18.0#1124pablo-cort-s73 wants to merge 25 commits intoOCA:18.0from
pablo-cort-s73 wants to merge 25 commits intoOCA:18.0from
Conversation
* [11.0][NEW] website_sale_product_minimal_price: New module * [11.0][IMP] website_sale_product_minimal_price: Order by minimal variant price (from pricelists or extra variant price) [UPD] Update website_sale_product_minimal_price.pot Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: e-commerce-11.0/e-commerce-11.0-website_sale_product_minimal_price Translate-URL: https://translation.odoo-community.org/projects/e-commerce-11-0/e-commerce-11-0-website_sale_product_minimal_price/ [UPD] README.rst
… avoid the inheritance problems
Currently translated at 100.0% (2 of 2 strings) Translation: e-commerce-13.0/e-commerce-13.0-website_sale_product_minimal_price Translate-URL: https://translation.odoo-community.org/projects/e-commerce-13-0/e-commerce-13-0-website_sale_product_minimal_price/es/
Ensure we use a consistant currency TT28906
…s of 12.0 Forward port adapting the minimal price computing to the new way added on version 13.0. With the changes added the price takes care on the website selected pricelist and it's added the grid of price scale for each product.variant. TT24175
…list item When the product has a sales price = 0, his variants has no extra price and a pricelist depends on other pricelists to compute the prices, the algorithm takes a random variant. Doing this changes we take care all pricelists that depends on the main to compute the prices asociated to the product. This changes are forward ported and addapted to 13.0 version from this commit OCA@fe99a35#diff-d3f954ac4904966e21fd42f7b88212a43b229ad5c025afc848408a4127215ebe
… is found in combination
624434f to
a7f5cc0
Compare
8d95a06 to
61f16cf
Compare
miguel-S73
approved these changes
Nov 6, 2025
Contributor
|
This PR has the |
|
@OCA/e-commerce-maintainers Please, can you merge this PR? |
61f16cf to
126ef6f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migration to 18.0
This commit migrates the
website_sale_product_minimal_pricemodule to Odoo version 18.0.Main changes:
__manifest__.pyfrom 17.0.1.0.0 to 18.0.1.0.0._get_sales_pricesmethod inproduct_template.pyto match the new Odoo API, now receivingwebsiteinstead ofpricelistandfiscal_position.odoo.fields.CommandAPI for creating and linking records, replacing the old tuple-based syntax.