From 3e7e0b579c1ec1b4dda7e4e4ba08a36856630204 Mon Sep 17 00:00:00 2001 From: "sbh (Open ERP)" Date: Wed, 21 Jul 2010 17:13:28 +0530 Subject: [PATCH] [IMP] account: Improve the general_ledger report bzr revid: sbh@tinyerp.com-20100721114328-f6bkd7btrk530mc6 --- addons/account/report/general_ledger.rml | 2 +- addons/account/report/general_ledger_landscape.rml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account/report/general_ledger.rml b/addons/account/report/general_ledger.rml index bbb10a449ec..0b93ffc3588 100644 --- a/addons/account/report/general_ledger.rml +++ b/addons/account/report/general_ledger.rml @@ -366,7 +366,7 @@ [[ formatLang(line['debit']) ]] [[ formatLang(line['credit']) ]] [[ formatLang(line['progress']) ]] - [[ formatLang(line['amount_currency'] or '') ]] [[ line['currency_code'] or '']] + [[ o.currency_id and formatLang(line['amount_currency'] or '') ]] [[ o.currency_id and line['currency_code'] or '']] diff --git a/addons/account/report/general_ledger_landscape.rml b/addons/account/report/general_ledger_landscape.rml index 2f0cf030044..04ec8438bfe 100644 --- a/addons/account/report/general_ledger_landscape.rml +++ b/addons/account/report/general_ledger_landscape.rml @@ -339,7 +339,7 @@ [[ formatLang(line['debit']) ]] [[ formatLang(line['credit']) ]] [[ formatLang(line['progress']) ]] - [[ formatLang(line['amount_currency'] or '')]] [[ line['currency_code'] ]] + [[o.currency_id and formatLang(line['amount_currency'] or '')]] [[ o.currency_id and line['currency_code'] ]]