Skip to content
Snippets Groups Projects
Commit 8e60547e authored by Andrea Grazioso (agr-odoo)'s avatar Andrea Grazioso (agr-odoo)
Browse files

[FIX] website_sale: form data lost when applying coupon


Go to eshop with public user
Add items in cart
Checkout, reach shipping and billing address page
Fill the form
Add a coupon

Page will refresh and added content will be lost
This will prevent user from adding a coupon when a form needs to be
filled

opw-2287428

closes odoo/odoo#54396

X-original-commit: 4ed42845624e39c66222cda81f307236a6d5a483
Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
parent af85bb5e
Branches
Tags
No related merge requests found
......@@ -1188,6 +1188,7 @@
<div class="row">
<div class="col-12 col-xl-auto order-xl-2 d-none d-xl-block">
<t t-call="website_sale.cart_summary">
<t t-set="hide_coupon">True</t>
<t t-set="redirect" t-valuef="/shop/address"/>
</t>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment