[FIX] website_sale: fix wizard_checkout when only services

This commit display only 'Invoicing' if cart have only service.
Set website_sale_order variable to get right context of order.

This commit closes 22259
This commit is contained in:
Maximilien Tantin
2018-01-18 14:13:23 +01:00
committed by Jeremy Kersten
parent a92eba42b8
commit 710ce85c31
+1
View File
@@ -720,6 +720,7 @@
</template>
<template id="wizard_checkout" name="Wizard Checkout">
<t t-set="website_sale_order" t-value="website.sale_get_order()"/>
<ul class="wizard pull-right">
<li t-att-class="step==10 and 'text-primary' or 'text-muted'" id="step10">
<t t-if="step&gt;10 and step&lt;50">