[19.0][MIG] product_pricelist_fixed_currency_rate : Migration to 19.0.#2297
Open
uncannycs wants to merge 17 commits into
Open
[19.0][MIG] product_pricelist_fixed_currency_rate : Migration to 19.0.#2297uncannycs wants to merge 17 commits into
uncannycs wants to merge 17 commits into
Conversation
Currently translated at 100.0% (12 of 12 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_fixed_currency_rate Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_fixed_currency_rate/it/
Currently translated at 100.0% (12 of 12 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_fixed_currency_rate Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_fixed_currency_rate/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: product-attribute-18.0/product-attribute-18.0-product_pricelist_fixed_currency_rate Translate-URL: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_pricelist_fixed_currency_rate/
Currently translated at 100.0% (12 of 12 strings) Translation: product-attribute-18.0/product-attribute-18.0-product_pricelist_fixed_currency_rate Translate-URL: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_pricelist_fixed_currency_rate/it/
…doo 18 In Odoo 18, _compute_base_price() parameter was renamed from 'target_currency' to 'currency'. The old signature causes: TypeError: ProductPricelist._compute_base_price() got an unexpected keyword argument 'currency' Fix: rename parameter to 'currency' to match parent method signature. Closes: OCA#1831
f245c4d to
3d3e540
Compare
| { | ||
| "name": "Product Pricelist Fixed Currency Rate", | ||
| "summary": "Set a fixed currency rate between pricelists", | ||
| "version": "19.0.1.0.1", |
Contributor
There was a problem hiding this comment.
Suggested change
| "version": "19.0.1.0.1", | |
| "version": "19.0.1.0.0", |
| from odoo.tests import common | ||
|
|
||
|
|
||
| class TestProductPricelistFixedCurrencyRate(common.TransactionCase): |
Contributor
There was a problem hiding this comment.
Suggested change
| class TestProductPricelistFixedCurrencyRate(common.TransactionCase): | |
| class TestProductPricelistFixedCurrencyRate(Basecommon): |
Comment on lines
+39
to
+41
| ( | ||
| 0, | ||
| 0, |
Contributor
There was a problem hiding this comment.
Suggested change
| ( | |
| 0, | |
| 0, | |
| Command.create( |
Comment on lines
+58
to
+60
| ( | ||
| 0, | ||
| 0, |
Contributor
There was a problem hiding this comment.
Suggested change
| ( | |
| 0, | |
| 0, | |
| Command.create( |
Comment on lines
+77
to
+79
| ( | ||
| 0, | ||
| 0, |
Contributor
There was a problem hiding this comment.
Suggested change
| ( | |
| 0, | |
| 0, | |
| Command.create( |
823727a to
bd716a1
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.
[19.0][MIG] product_pricelist_fixed_currency_rate : Migration to 19.0.