[19.0][MIG] sale_commission_pricelist_oca: Migration to 19.0 - #677
Merged
OCA-git-bot merged 37 commits intoMay 19, 2026
Conversation
Currently translated at 100.0% (3 of 3 strings) Translation: commission-12.0/commission-12.0-sale_commission_pricelist Translate-URL: https://translation.odoo-community.org/projects/commission-12-0/commission-12-0-sale_commission_pricelist/it/
Currently translated at 100.0% (3 of 3 strings) Translation: commission-12.0/commission-12.0-sale_commission_pricelist Translate-URL: https://translation.odoo-community.org/projects/commission-12-0/commission-12-0-sale_commission_pricelist/zh_CN/
Currently translated at 100.0% (3 of 3 strings) Translation: commission-12.0/commission-12.0-sale_commission_pricelist Translate-URL: https://translation.odoo-community.org/projects/commission-12-0/commission-12-0-sale_commission_pricelist/pt/
Currently translated at 100.0% (3 of 3 strings) Translation: commission-12.0/commission-12.0-sale_commission_pricelist Translate-URL: https://translation.odoo-community.org/projects/commission-12-0/commission-12-0-sale_commission_pricelist/pt_BR/
Currently translated at 100.0% (3 of 3 strings) Translation: commission-12.0/commission-12.0-sale_commission_pricelist Translate-URL: https://translation.odoo-community.org/projects/commission-12-0/commission-12-0-sale_commission_pricelist/pt_BR/
Currently translated at 100.0% (3 of 3 strings) Translation: commission-13.0/commission-13.0-sale_commission_pricelist Translate-URL: https://translation.odoo-community.org/projects/commission-13-0/commission-13-0-sale_commission_pricelist/es_AR/
Currently translated at 100.0% (3 of 3 strings) Translation: commission-14.0/commission-14.0-sale_commission_pricelist Translate-URL: https://translation.odoo-community.org/projects/commission-14-0/commission-14-0-sale_commission_pricelist/it/
Currently translated at 100.0% (3 of 3 strings) Translation: commission-14.0/commission-14.0-sale_commission_pricelist Translate-URL: https://translation.odoo-community.org/projects/commission-14-0/commission-14-0-sale_commission_pricelist/pt_BR/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: commission-14.0/commission-14.0-sale_commission_pricelist Translate-URL: https://translation.odoo-community.org/projects/commission-14-0/commission-14-0-sale_commission_pricelist/
Currently translated at 100.0% (6 of 6 strings) Translation: commission-14.0/commission-14.0-sale_commission_pricelist Translate-URL: https://translation.odoo-community.org/projects/commission-14-0/commission-14-0-sale_commission_pricelist/it/
Currently translated at 100.0% (6 of 6 strings) Translation: commission-14.0/commission-14.0-sale_commission_pricelist Translate-URL: https://translation.odoo-community.org/projects/commission-14-0/commission-14-0-sale_commission_pricelist/es/
Currently translated at 100.0% (6 of 6 strings) Translation: commission-18.0/commission-18.0-sale_commission_pricelist_oca Translate-URL: https://translation.odoo-community.org/projects/commission-18-0/commission-18-0-sale_commission_pricelist_oca/pt_BR/
JordiMForgeFlow
left a comment
Contributor
There was a problem hiding this comment.
code LGTM, could you add a test for the new pricelist commission configuration?
…mission The commission_id field exists on product.pricelist.item, requiring it to be set on every rule. Add commission_id on product.pricelist so that when an item has none, the rule falls back to the pricelist's value. This makes it practical to configure a single commission per tier without editing every rule.
AndreuOForgeFlow
force-pushed
the
19.0-mig-sale_commission_pricelist_oca
branch
from
May 19, 2026 10:51
c22eca7 to
1b55bc3
Compare
Author
@JordiMForgeFlow, done! |
JordiMForgeFlow
approved these changes
May 19, 2026
Author
|
Hi @pedrobaeza, could you please review this one and possibly merge? |
Member
|
/ocabot migration sale_commission_pricelist_oca |
Contributor
|
What a great day to merge this nice PR. Let's do it! |
Contributor
|
Congratulations, your PR was merged at a683680. Thanks a lot for contributing to OCA. ❤️ |
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 19.0
@ForgeFlow
Added this IMP commit: c22eca7 to set the pricelist commission_id as fallback when pricelist item has none