diff options
| author | Najlaâ EL KHAYAT <nel@tinyerp.com> | 2009-01-22 13:18:01 +0100 |
|---|---|---|
| committer | Najlaâ EL KHAYAT <nel@tinyerp.com> | 2009-01-22 13:18:01 +0100 |
| commit | 8bee28eddf9a3c35a246453e4c8a0053a509e2ea (patch) | |
| tree | 18cf07c10a8c1f2e313dd513a0ef245deefe90e3 | |
| parent | df09e88e737b0a9cfce600ae4940ea7a4f8ffaa6 (diff) | |
take off non evaluated amounts with formatlang from report account balance
bzr revid: nel@tinyerp.com-20090122121801-dciezblo5e4trisd
| -rw-r--r-- | addons/account/report/account_balance.rml | 12 |
1 files 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'] ]]</para> </td> <td> - <para style="P3"><font>[[ a['type']=='view' and removeParentNode('font') ]][[ a['debit'] and formatLang(a['debit']) or '0.00' ]]</font> - <font>[[ a['type']<>'view' and removeParentNode('font') ]] [[a['debit'] and formatLang(a['debit']) or '0.00' ]]</font></para> + <para style="P3"><font>[[ a['type']=='view' and removeParentNode('font') ]][[ formatLang(a['debit']) ]]</font> + <font>[[ a['type']<>'view' and removeParentNode('font') ]] [[formatLang(a['debit']) ]]</font></para> </td> <td> - <para style="P3"><font>[[ a['type']=='view' and removeParentNode('font') ]][[ a['credit'] and formatLang(a['credit']) or '0.00' ]]</font> - <font>[[ a['type']<>'view' and removeParentNode('font') ]] [[a['credit'] and formatLang(a['credit']) or '0.00' ]]</font></para> + <para style="P3"><font>[[ a['type']=='view' and removeParentNode('font') ]][[ formatLang(a['credit']) ]]</font> + <font>[[ a['type']<>'view' and removeParentNode('font') ]] [[ formatLang(a['credit']) ]]</font></para> </td> <td> - <para style="P3"><font>[[ a['type']=='view' and removeParentNode('font') ]][[ a['balance'] and formatLang(a['balance']) or '0.00' ]]</font> - <font>[[ a['type']<>'view' and removeParentNode('font') ]] [[a['balance'] and formatLang(a['balance']) or '0.00' ]]</font></para> + <para style="P3"><font>[[ a['type']=='view' and removeParentNode('font') ]][[ formatLang(a['balance']) ]]</font> + <font>[[ a['type']<>'view' and removeParentNode('font') ]] [[ formatLang(a['balance']) ]]</font></para> </td> </tr> </blockTable> |
