From 84ff6d950fae7a7221b1630a5d862318524d4daa Mon Sep 17 00:00:00 2001 From: Mustufa Rangwala Date: Mon, 2 Aug 2010 12:25:05 +0530 Subject: [PATCH] [REF] bzr revid: mra@mra-laptop-20100802065505-jc955eu9cc2whvi0 --- addons/account/report/account_balance.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/account/report/account_balance.py b/addons/account/report/account_balance.py index 54da425cab4..b2e4cdb7fc3 100644 --- a/addons/account/report/account_balance.py +++ b/addons/account/report/account_balance.py @@ -61,6 +61,7 @@ class account_balance(report_sxw.rml_parse, common_report_header): if header == 0: self.rml_header = "" return True + def _get_account(self, data): if data['model']=='account.account': return self.pool.get('account.account').browse(self.cr, self.uid, data['form']['id']).company_id.name @@ -99,8 +100,8 @@ class account_balance(report_sxw.rml_parse, common_report_header): continue done[account['id']] = 1 res = { - 'id' : account['id'], - 'type' : account['type'], + 'id': account['id'], + 'type': account['type'], 'code': account['code'], 'name': account['name'], 'level': level,