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
[FIX] sale_loyalty: prevent coupon removal on double apply #153485
[FIX] sale_loyalty: prevent coupon removal on double apply #153485
Conversation
Hello 🦆 , LGTM, but squash commits. |
1d8ac95
to
a88d48f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
a2188d3
to
1a5d486
Compare
The two commits can be squashed 👀 |
3a7bec3
to
2783ef8
Compare
ec3e200
to
b6fb86b
Compare
b6fb86b
to
eb3dbdc
Compare
|
91ed8ca
to
1374e67
Compare
1374e67
to
857ead7
Compare
addons/website_sale_loyalty/tests/test_website_sale_loyalty_delivery.py
Outdated
Show resolved
Hide resolved
c8bf2e0
to
6db4769
Compare
Addresses the issue where reapplying an already applied coupon in the website shop led to the disappearance of the discount. With this fix, the discount remains applied, and the system continues to inform the user that the coupon has already been used, preventing confusion and maintaining consistency in the discount application process. task-3621246
6db4769
to
ed74552
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Little push to rely on the test class setup data in the test (improve test perf while keeping the fix covered).
@robodoo r+
Addresses the issue where reapplying an already applied coupon
in the website shop led to the disappearance of the discount.
With this fix, the discount remains applied, and the system
continues to inform the user that the coupon has already been
used, preventing confusion and maintaining consistency in the
discount application process.
task-3621246