[FIX] website_sale_delivery: add the modification of a relay point

Steps to reproduce:
Realize the process checkout flow on ecommerce.
Taking care to have only one shipping method (example Mondial relay).

Issue:
When confirming the order,
it is not possible to choose another parcel point.

Solution:
Make it possible to click on the shipping method
to change the parcel point.

Remark:
It is only possible to confirm the relay point once.
We must reload the page if we want to modify it.

opw-3149294

closes odoo/odoo#111914

X-original-commit: cce78ebce1bd7b7f2ddbdbf1beec0d7bafccf6ae
Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
This commit is contained in:
Thomas Lefebvre (thle)
2023-02-04 11:48:24 +01:00
parent c17f34513e
commit 0b69bf0258
@@ -31,7 +31,9 @@
<div t-if="delivery_nb == 1" id="delivery_carrier" class="mt4">
<b>Shipping Method: </b>
<t t-foreach="deliveries" t-as="delivery">
<t t-call="website_sale_delivery.payment_delivery_methods"/>
<div class="o_delivery_carrier_select d-inline">
<t t-call="website_sale_delivery.payment_delivery_methods"/>
</div>
</t>
</div>
</xpath>