From 018709b2728d41557ec5dd364a0c5acfefcd8600 Mon Sep 17 00:00:00 2001 From: "olt@tinyerp.com" <> Date: Tue, 5 Oct 2010 11:51:31 +0200 Subject: [PATCH] [IMP] report_intrastat: 'invoice' report now uses decimal.precision (changed the sxw too and now pass 'dp' instead of calling get_digits) [related rev:4177] bzr revid: olt@tinyerp.com-20101005095131-lzsy0vodqsd7y3a4 --- addons/report_intrastat/report/invoice.rml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/report_intrastat/report/invoice.rml b/addons/report_intrastat/report/invoice.rml index 08a1ab14fe0..e931a6d735d 100644 --- a/addons/report_intrastat/report/invoice.rml +++ b/addons/report_intrastat/report/invoice.rml @@ -357,7 +357,7 @@ [[ l.discount and formatLang (l.discount) or '' ]] - [[ formatLang(l.price_subtotal) ]] + [[ formatLang(l.price_subtotal, dp='Account') ]] [[ o.currency_id.code ]] @@ -488,7 +488,7 @@ - [[ o.amount_tax and formatLang(o.amount_tax, digits=get_digits(dp='Account')) or removeParentNode('blockTable') ]] + [[ o.amount_tax and formatLang(o.amount_tax, dp='Account') or removeParentNode('blockTable') ]] @@ -516,10 +516,10 @@ [[ t.name ]] - [[ formatLang(t.base, digits=get_digits(dp='Account')) ]] + [[ formatLang(t.base, dp='Account') ]] - [[ formatLang(t.amount, digits=get_digits(dp='Account')) ]] + [[ formatLang(t.amount, dp='Account') ]]