From 451a79ab2a351f4d2bddc3a4752bf44ab4f3dfbf Mon Sep 17 00:00:00 2001 From: Jeremy Kersten Date: Mon, 19 Sep 2016 17:49:17 +0200 Subject: [PATCH] [FIX] website_sale*: use website_price instead of price --- addons/website_sale/views/templates.xml | 10 +++++----- .../views/website_sale_options_templates.xml | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml index 982f321a686..1d97c1b3643 100644 --- a/addons/website_sale/views/templates.xml +++ b/addons/website_sale/views/templates.xml @@ -106,8 +106,8 @@ - - + + @@ -569,7 +569,7 @@ t-esc="compute_currency(product.website_public_price)" t-options="{'widget': 'monetary', 'display_currency': website.get_current_pricelist().currency_id, 'from_currency': website.currency_id}" t-att-style="'text-decoration: line-through; white-space: nowrap; ' + '' if (compute_currency(product.lst_price) - product.website_price) > 0.01 and website.get_current_pricelist().discount_policy == 'without_discount' else 'display: none;'" /> - +

@@ -972,10 +972,10 @@
- + - + diff --git a/addons/website_sale_options/views/website_sale_options_templates.xml b/addons/website_sale_options/views/website_sale_options_templates.xml index 1ca3f518cf0..11172d947fe 100644 --- a/addons/website_sale_options/views/website_sale_options_templates.xml +++ b/addons/website_sale_options/views/website_sale_options_templates.xml @@ -54,7 +54,7 @@
-
+ }'/>