Skip to content
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

[17.0][MIG] sale_order_general_discount_triple: Migration to 17.0 #3235

Open
wants to merge 28 commits into
base: 17.0
Choose a base branch
from

Conversation

arantxa-s73
Copy link

@arantxa-s73 arantxa-s73 force-pushed the 17.0-mig-sale_order_general_discount_triple branch 2 times, most recently from 1135d57 to 52e968a Compare July 15, 2024 13:41
@rousseldenis
Copy link
Contributor

/ocabot migration sale_order_general_discount_triple

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone Sep 17, 2024
@OCA-git-bot OCA-git-bot mentioned this pull request Sep 17, 2024
82 tasks
@arantxa-s73 arantxa-s73 force-pushed the 17.0-mig-sale_order_general_discount_triple branch from 52e968a to dc30533 Compare September 23, 2024 07:47
AshishHirapara and others added 22 commits September 25, 2024 17:08
Currently translated at 100.0% (11 of 11 strings)

Translation: sale-workflow-14.0/sale-workflow-14.0-sale_order_general_discount_triple
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_order_general_discount_triple/it/
Use `update` instead of `write` to avoid caching issue
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_order_general_discount_triple
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_order_general_discount_triple/
Changing the field `discount` to a not computed one is breaking standard
flows, provoking all sorts of errors when this module is installed, so
we disable for now the module while not finding other option that will
be reported to original migrators.
Discount behaviuour in v16.0 is to be computed but in this module it was changed. Here we are using compute_discount method to archive the functionallity and also converting the remaining two discounts to computed fields.
Pricelist discount was overide by general discount functionality. With this change, its up to the user to choose in which discount wants to apply general and pricelist disounts.
Currently translated at 100.0% (8 of 8 strings)

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_order_general_discount_triple
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_order_general_discount_triple/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_order_general_discount_triple
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_order_general_discount_triple/
Currently translated at 100.0% (10 of 10 strings)

Translation: sale-workflow-16.0/sale-workflow-16.0-sale_order_general_discount_triple
Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_order_general_discount_triple/es/
@sbiosca-s73 sbiosca-s73 force-pushed the 17.0-mig-sale_order_general_discount_triple branch from dc30533 to bcd82e9 Compare September 25, 2024 15:10
@dalonsod
Copy link

dalonsod commented Nov 12, 2024

I've superseded sale_triple_discount PR migration with #3406 , you can use it instead of #3157

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.