[FIX] account, financial report: don't display lines twice
authorQuentin (OpenERP) <qdp-launchpad@openerp.com>
Mon, 13 Feb 2012 13:56:04 +0000 (14:56 +0100)
committerQuentin (OpenERP) <qdp-launchpad@openerp.com>
Mon, 13 Feb 2012 13:56:04 +0000 (14:56 +0100)
bzr revid: qdp-launchpad@openerp.com-20120213135604-tsmzruto4h50obd0

addons/account/report/account_financial_report.py

index 4952814..5380383 100644 (file)
@@ -94,7 +94,6 @@ class report_account_common(report_sxw.rml_parse, common_report_header):
                     if data['form']['debit_credit']:
                         vals['debit'] = account.debit
                         vals['credit'] = account.credit
-                    lines.append(vals)
                     if not currency_obj.is_zero(self.cr, self.uid, account.company_id.currency_id, vals['balance']):
                         flag = True
                     if data['form']['enable_filter']: