Skip to content

Commit

Permalink
[FIX] website_sale: fix wizard_checkout when only services
Browse files Browse the repository at this point in the history
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
  • Loading branch information
MTantin authored and JKE-be committed Jan 18, 2018
1 parent a92eba4 commit 710ce85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/website_sale/views/templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 710ce85

Please sign in to comment.