Skip to content
Snippets Groups Projects
Commit 94625b65 authored by jvm-odoo's avatar jvm-odoo
Browse files

[FIX] website_sale: fix redirect on wrong coupon code


This commits fixes the case where you click on
edit address in eCommerce payment flow and you
type a wrong coupon code.

Without this commit, you are redirected at
/shop/payment instead of /shop/checkout

OPW-2290188

closes odoo/odoo#54646

X-original-commit: 0d658349
Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
Signed-off-by: default avatarJason Van Malder (jvm) <jvm@odoo.com>
parent e69c72f9
Branches
Tags
No related merge requests found
......@@ -1079,7 +1079,9 @@
</t>
</div>
<div class="col-12 col-xl-auto order-xl-2 d-none d-xl-block">
<t t-call="website_sale.cart_summary"/>
<t t-call="website_sale.cart_summary">
<t t-set="redirect">/shop/checkout</t>
</t>
</div>
<div class="col-12 col-xl order-xl-1 oe_cart">
<div class="row">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment