[IMP] account: Improve profit and loss report

bzr revid: sbh@tinyerp.com-20100721115006-pd4ffezt6awvxqyv
This commit is contained in:
sbh (Open ERP)
2010-07-21 17:20:06 +05:30
parent 3e7e0b579c
commit f569aa693d
3 changed files with 14 additions and 3 deletions
+3 -3
View File
@@ -101,10 +101,10 @@ class report_pl_account_horizontal(rml_parse.rml_parse, common_report_header):
ctx['fiscalyear'] = data['form']['fiscalyear_id']
if data['form']['filter']=='filter_period' :
ctx['periods'] = data['periods']
ctx['periods'] = data['form']['periods']
elif data['form']['filter']== 'filter_date':
ctx['date_from'] = data['date_from']
ctx['date_to'] = data['date_to']
ctx['date_from'] = data['form']['date_from']
ctx['date_to'] = data['form']['date_to']
cal_list={}
account_id =data['form']['chart_account_id']
@@ -39,6 +39,10 @@
<lineStyle kind="LINEABOVE" colorName="#cccccc" start="3,0" stop="3,0"/>
<lineStyle kind="LINEBELOW" colorName="#cccccc" start="3,0" stop="3,-1"/>
</blockTableStyle>
<blockTableStyle id="Table3">
<blockAlignment value="LEFT"/>
<lineStyle kind="LINEBEFORE" colorName="#cccccc" start="1,0" stop="1,-1"/>
</blockTableStyle>
<blockTableStyle id="Table6">
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/>
@@ -80,6 +80,10 @@
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/>
</blockTableStyle>
<blockTableStyle id="Table3">
<blockAlignment value="LEFT"/>
<lineStyle kind="LINEBEFORE" colorName="#cccccc" start="1,0" stop="1,-1"/>
</blockTableStyle>
<blockTableStyle id="Table_Net_Profit_Loss">
<blockAlignment value="LEFT"/>
<blockValign value="TOP"/>
@@ -202,6 +206,9 @@
</td>
</tr>
</blockTable>
<para style="Standard">
<font color="white"> </font>
</para>
<para style="P2">[[ get_data(data) or removeParentNode('para')]]</para>
<blockTable colWidths="80.0,80.0,80.0,140.0,80.0,80.0" style="Table2_header">
<tr>