summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNajlaâ EL KHAYAT <nel@tinyerp.com>2009-01-22 13:18:01 +0100
committerNajlaâ EL KHAYAT <nel@tinyerp.com>2009-01-22 13:18:01 +0100
commit8bee28eddf9a3c35a246453e4c8a0053a509e2ea (patch)
tree18cf07c10a8c1f2e313dd513a0ef245deefe90e3
parentdf09e88e737b0a9cfce600ae4940ea7a4f8ffaa6 (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.rml12
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']&lt;&gt;'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']&lt;&gt;'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']&lt;&gt;'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']&lt;&gt;'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']&lt;&gt;'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']&lt;&gt;'view' and removeParentNode('font') ]] [[ formatLang(a['balance']) ]]</font></para>
</td>
</tr>
</blockTable>