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

[16.0][FIX] loyalty_criteria_multi_product: Avoiding cross-data in multi-product promotion criteria #229

Merged

Conversation

pilarvargas-tecnativa
Copy link
Contributor

When setting up a multi-product promotion, you should not set a minimum spend amount because if one rule passes, they will all pass. To avoid misconfiguration, the field is hidden for promotions with multi-product criteria. In addition, the rule data is cleared when the criterion is changed so that the promotion is applied correctly in case of promotion modifications.

cc @Tecnativa

@carlos-lopez-tecnativa @chienandalu please review

…oduct promotion criteria

When setting up a multi-product promotion, you should not set a minimum
spend amount because if one rule passes, they will all pass.
To avoid misconfiguration, the field is hidden for promotions
with multi-product criteria. In addition, the rule data is cleared
when the criterion is changed so that the promotion is applied
correctly in case of promotion modifications.
@OCA-git-bot
Copy link
Contributor

Hi @chienandalu,
some modules you are maintaining are being modified, check this out!

@pedrobaeza pedrobaeza added this to the 16.0 milestone Nov 19, 2024
@pedrobaeza
Copy link
Member

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 16.0-ocabot-merge-pr-229-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 07ffdae into OCA:16.0 Nov 19, 2024
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at afa74ef. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza pedrobaeza deleted the 16.0-fix-loyalty_criteria_multi_product branch November 19, 2024 15:45
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.

5 participants