modify some account report rml for set formatLang function

bzr revid: apa@tinyerp.com-20090122115958-em2p1zru9udm48j4
This commit is contained in:
Apa (Open ERP) 2009-01-22 17:29:58 +05:30
parent 14a2b6ee69
commit f2754bb11e
2 changed files with 11 additions and 11 deletions

View File

@ -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>

View File

@ -152,16 +152,16 @@
<td></td>
<td></td>
<td>
<para style="P12"><u>[[ '%.2f' % sum_debit(o.period_id.id, o.journal_id.id) or '0.00' ]]</u></para>
<para style="P12"><u>[[ formatLang(sum_debit(o.period_id.id, o.journal_id.id)) ]]</u></para>
</td>
<td>
<para style="P12"><u>[[ '%.2f' % sum_credit(o.period_id.id, o.journal_id.id) or '0.00' ]]</u></para>
<para style="P12"><u>[[ formatLang(sum_credit(o.period_id.id, o.journal_id.id)) ]]</u></para>
</td>
</tr>
<tr>
<td>
<para style="terp_default_8">[[ repeatIn(lines(o.period_id.id, o.journal_id.id), 'line') ]]</para>
<para style="terp_default_8">[[ line.date ]]</para>
<para style="terp_default_8">[[ formatLang(line.date,date=True) ]]</para>
</td>
<td>
<para style="terp_default_Centre_8">[[ line.ref ]]</para>
@ -176,10 +176,10 @@
<para style="terp_default_8">[[ line.name ]]</para>
</td>
<td>
<para style="P8">[[ line.debit and '%.2f' % line.debit or '0.00' ]]</para>
<para style="P8">[[ formatLang(line.debit) ]]</para>
</td>
<td>
<para style="P8">[[ line.credit and '%.2f' % line.credit or '0.00' ]]</para>
<para style="P8">[[ formatLang(line.credit) ]]</para>
</td>
<para style="Standard">
<font color="white"> </font>