-
-
Notifications
You must be signed in to change notification settings - Fork 534
[18.0][MIG] website_sale_product_minimal_price: Migration to 18.0 #1124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
pablo-cort-s73
wants to merge
25
commits into
OCA:18.0
Choose a base branch
from
Studio73:18.0-mig-website_sale_product_minimal_price
base: 18.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[18.0][MIG] website_sale_product_minimal_price: Migration to 18.0 #1124
pablo-cort-s73
wants to merge
25
commits into
OCA:18.0
from
Studio73:18.0-mig-website_sale_product_minimal_price
Conversation
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
* [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
Reyes4711-S73
approved these changes
Nov 6, 2025
Reyes4711-S73
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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
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.