From 1155099d2ba25423213b3fff035dd7cb8e0414d8 Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Tue, 3 Mar 2015 11:37:20 +0100 Subject: [PATCH] [FIX] purchase: wrong currency printed on purchase order Choosing a currency different than the purchase order pricelist is allowed. Therefore, the purchase order report must display the currency of the purchase order, and not the currency of the pricelist. opw:628767 Fixes #5443 --- addons/purchase/views/report_purchaseorder.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/purchase/views/report_purchaseorder.xml b/addons/purchase/views/report_purchaseorder.xml index d1285c1d71b..87c6834d869 100644 --- a/addons/purchase/views/report_purchaseorder.xml +++ b/addons/purchase/views/report_purchaseorder.xml @@ -79,7 +79,7 @@ + t-field-options='{"widget": "monetary", "display_currency": "o.currency_id"}'/> @@ -92,21 +92,21 @@ Total Without Taxes + t-field-options='{"widget": "monetary", "display_currency": "o.currency_id"}'/> Taxes + t-field-options='{"widget": "monetary", "display_currency": "o.currency_id"}'/> Total + t-field-options='{"widget": "monetary", "display_currency": "o.currency_id"}'/>