From 8bee28eddf9a3c35a246453e4c8a0053a509e2ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Najla=C3=A2=20EL=20KHAYAT?= Date: Thu, 22 Jan 2009 13:18:01 +0100 Subject: [PATCH] take off non evaluated amounts with formatlang from report account balance bzr revid: nel@tinyerp.com-20090122121801-dciezblo5e4trisd --- addons/account/report/account_balance.rml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/addons/account/report/account_balance.rml b/addons/account/report/account_balance.rml index e4bb97a6602..e63ab030380 100644 --- a/addons/account/report/account_balance.rml +++ b/addons/account/report/account_balance.rml @@ -214,16 +214,16 @@ [[ a['name'] ]] - [[ a['type']=='view' and removeParentNode('font') ]][[ a['debit'] and formatLang(a['debit']) or '0.00' ]] - [[ a['type']<>'view' and removeParentNode('font') ]] [[a['debit'] and formatLang(a['debit']) or '0.00' ]] + [[ a['type']=='view' and removeParentNode('font') ]][[ formatLang(a['debit']) ]] + [[ a['type']<>'view' and removeParentNode('font') ]] [[formatLang(a['debit']) ]] - [[ a['type']=='view' and removeParentNode('font') ]][[ a['credit'] and formatLang(a['credit']) or '0.00' ]] - [[ a['type']<>'view' and removeParentNode('font') ]] [[a['credit'] and formatLang(a['credit']) or '0.00' ]] + [[ a['type']=='view' and removeParentNode('font') ]][[ formatLang(a['credit']) ]] + [[ a['type']<>'view' and removeParentNode('font') ]] [[ formatLang(a['credit']) ]] - [[ a['type']=='view' and removeParentNode('font') ]][[ a['balance'] and formatLang(a['balance']) or '0.00' ]] - [[ a['type']<>'view' and removeParentNode('font') ]] [[a['balance'] and formatLang(a['balance']) or '0.00' ]] + [[ a['type']=='view' and removeParentNode('font') ]][[ formatLang(a['balance']) ]] + [[ a['type']<>'view' and removeParentNode('font') ]] [[ formatLang(a['balance']) ]]