Skip to content

[18.0][MIG]sale_order_general_discount_triple#3893

Closed
Alexgars73 wants to merge 30 commits intoOCA:18.0from
Studio73:18.0-mig-sale_order_general_discount_triple
Closed

[18.0][MIG]sale_order_general_discount_triple#3893
Alexgars73 wants to merge 30 commits intoOCA:18.0from
Studio73:18.0-mig-sale_order_general_discount_triple

Conversation

@Alexgars73
Copy link
Copy Markdown
Contributor

No description provided.

@Alexgars73 Alexgars73 force-pushed the 18.0-mig-sale_order_general_discount_triple branch 2 times, most recently from e260d60 to dfe111e Compare September 11, 2025 15:05
@Alexgars73
Copy link
Copy Markdown
Contributor Author

@pedrobaeza could you review it pls. Thanks

@Alexgars73 Alexgars73 changed the title [18.0][MIG]sale order general discount triple [18.0][MIG]sale_order_general_discount_triple Sep 12, 2025
@pedrobaeza
Copy link
Copy Markdown
Member

/ocabot migration sale_order_general_discount_triple

@rousseldenis
Copy link
Copy Markdown
Contributor

@Alexgars73 I'm wondering why you have sale_triple_discount changes in your migration commit ?

@Alexgars73
Copy link
Copy Markdown
Contributor Author

Alexgars73 commented Sep 15, 2025

@rousseldenis i was testing because it depends I added all but I deleted, was my fault.

@Alexgars73 Alexgars73 force-pushed the 18.0-mig-sale_order_general_discount_triple branch from 2b19862 to 7c25999 Compare September 15, 2025 13:36
AshishHirapara and others added 17 commits September 16, 2025 16:02
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.
OCA-git-bot and others added 13 commits September 16, 2025 16:02
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/
…or res.config.settings

- Field mark as required cause issues with other modules
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/it/
@Alexgars73 Alexgars73 force-pushed the 18.0-mig-sale_order_general_discount_triple branch from 7c25999 to bcf5b0e Compare September 16, 2025 14:03
@Alexgars73
Copy link
Copy Markdown
Contributor Author

@rousseldenis now is corrected, thanks.

@Alexgars73
Copy link
Copy Markdown
Contributor Author

All module in this Pr #3889

@Alexgars73 Alexgars73 closed this Nov 5, 2025
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.