[IMP] account: Improve the account_journal report

bzr revid: sbh@tinyerp.com-20100719092843-gdsrs82lxzgffu8c
This commit is contained in:
sbh (Open ERP)
2010-07-19 14:58:43 +05:30
parent 4a30d079bd
commit 0597f9431d
2 changed files with 6 additions and 3 deletions
+3
View File
@@ -48,6 +48,9 @@ class journal_print(report_sxw.rml_parse, common_report_header):
'get_end_date': self._get_end_date,
'sum_currency_amount_account': self._sum_currency_amount_account,
'get_fiscalyear': self._get_fiscalyear,
'get_start_date':self._get_start_date,
'get_end_date':self._get_end_date,
})
def set_context(self, objects, data, ids, report_type=None): # Improve move to common default?
+3 -3
View File
@@ -213,7 +213,7 @@
<td><para style="terp_tblheader_General_Centre">Printing Date</para></td>
</tr>
<tr>
<td><para style="terp_default_Centre_8">[[ get_account(data) or removeParentNode('para') ]]</para></td>
<td><para style="terp_default_Centre_8">[[ get_account(data) ]]</para></td>
<td><para style="terp_default_Centre_8">[[ get_fiscalyear(data) or removeParentNode('para') ]]</para></td>
<td><para style="terp_default_Centre_8">[[o.journal_id.name ]]</para></td>
<td><para style="terp_default_Centre_8">[[ get_filter(data)=='No Filter' and get_filter(data) or removeParentNode('para') ]] </para>
@@ -223,8 +223,8 @@
<td><para style="terp_tblheader_Details_Centre">End Date</para></td>
</tr>
<tr>
<td><para style="terp_default_Centre_8">[[ data['form']['date_from'] ]]</para></td>
<td><para style="terp_default_Centre_8">[[ data['form']['date_to'] ]]</para></td>
<td><para style="terp_default_Centre_8">[[ get_start_date(data) ]]</para></td>
<td><para style="terp_default_Centre_8">[[ get_end_date(data) ]]</para></td>
</tr>
</blockTable>
<blockTable colWidths="60.0,60.0" style="Table3">[[ get_filter(data)=='Periods' or removeParentNode('blockTable') ]]