odoo/odoo#153485
Created by Mathys Paul (matp)
Merged
at 64d1febc43084c819bfdbf7cb1c9f4f3892b54f3
- label
- odoo-dev:17.0-sale-using-same-coupon-twice-removes-discount-matp
- head
- ed74552308fa22bf760ef8a1d1c704bd7e662523
- target
- 17.0
- merged
- 1 month ago by Sales, Victor Feyens (vfe)
- forward-ports
- odoo/odoo#159861 targeting master
- odoo/odoo#159807 targeting saas-17.2
- odoo/odoo#159789 targeting saas-17.1
[FIX] sale_loyalty: prevent coupon removal on double apply
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