Skip to content
Snippets Groups Projects
Commit d24c1963 authored by Romain Derie's avatar Romain Derie
Browse files

[FIX] website_sale: don't handle pl promo code if already applied


When a pl promo code is applied, the code is shown in the promo code input.

Before this commit, if the user clicked on "Apply" (so with the same code) it
would remove the pl as it would go in the `if` condition that is supposed to
handle empty code modo to reset pl.

Coming from #34633

closes odoo/odoo#34734

Signed-off-by: default avatarJérémy Kersten (jke) <jke@openerp.com>
parent 06d149a3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment