bzr revid: mra@mra-laptop-20100726090655-d2wrpn5s7x4d16ro
This commit is contained in:
Mustufa Rangwala
2010-07-26 14:36:55 +05:30
parent 378fdf6042
commit 72e34aad20
+1
View File
@@ -118,6 +118,7 @@ class journal_print(report_sxw.rml_parse, common_report_header):
if data['model']=='account.journal.period':
return self.pool.get('account.journal.period').browse(self.cr, self.uid, data['id']).journal_id.currency or False
return data['form']['amount_currency']
report_sxw.report_sxw('report.account.general.journal', 'account.journal.period', 'addons/account/report/general_journal.rml', parser=journal_print, header='internal')
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: