From 223263911a7b5a709762a5fb68f7ff133d54d443 Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Fri, 16 Oct 2015 16:45:46 +0200 Subject: [PATCH] [FIX] website_sale_options: currency in modal Inspired from template product_price and product_lst_price in addons/website_sale/views/template.xml because the price displays in this template must be the same in the website_sale_options.modal opw:652209 --- addons/website_sale_options/views/templates.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/website_sale_options/views/templates.xml b/addons/website_sale_options/views/templates.xml index c372492a59e..411ce05942b 100644 --- a/addons/website_sale_options/views/templates.xml +++ b/addons/website_sale_options/views/templates.xml @@ -67,7 +67,7 @@ t-field="product.price" t-field-options='{ "widget": "monetary", - "from_currency": "website.currency_id", + "from_currency": "product.company_id.currency_id", "display_currency": "user_id.partner_id.property_product_pricelist.currency_id" }'/> @@ -107,7 +107,7 @@ t-field="product.lst_price" t-field-options='{ "widget": "monetary", - "from_currency": "website.currency_id", + "from_currency": "product.company_id.currency_id", "display_currency": "user_id.partner_id.property_product_pricelist.currency_id" }'/>