summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorIvan Yelizariev <yelizariev@it-projects.info>2017-12-06 13:35:03 +0500
committerJeremy Kersten <jke@odoo.com>2017-12-06 20:24:46 +0100
commit8a9900200b78c9b6707a28ac763d79c5925c8f66 (patch)
tree47c852aa8a3ffdd5d07b5e4ae3b51a711e0da2fa /addons
parentf9a189e07e1fb7849da19bcdf477a542e23e18ea (diff)
[REF] website_sale: remove obsolete optional_products variable
The variable is not used anymore. This commit closes #21461
Diffstat (limited to 'addons')
-rw-r--r--addons/website_sale/views/templates.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml
index c70eea3c314..5034a6d874c 100644
--- a/addons/website_sale/views/templates.xml
+++ b/addons/website_sale/views/templates.xml
@@ -897,7 +897,7 @@
</div>
<t t-call="website_sale.cart_lines" />
<div class="clearfix" />
- <a t-if="not optional_products and website_sale_order and website_sale_order.website_order_line" class="btn btn-primary pull-right mb32 mr8" href="/shop/checkout">
+ <a t-if="website_sale_order and website_sale_order.website_order_line" class="btn btn-primary pull-right mb32 mr8" href="/shop/checkout">
<span class="hidden-xs">Process Checkout</span>
<span class="visible-xs-inline">Checkout</span>
<span class="fa fa-long-arrow-right" />