From aaa65b3136608854217787ac655f8bd03737eec0 Mon Sep 17 00:00:00 2001 From: pso Date: Wed, 20 Oct 2010 16:23:29 +0530 Subject: [PATCH] [IMP] account_reporting: Removed unused vars bzr revid: pso@tinyerp.com-20101020105329-o5m2fu973fs5rznq --- addons/account_reporting/report/account_report_bs.py | 3 --- .../wizard/account_reporting_balance_report.py | 1 - 2 files changed, 4 deletions(-) diff --git a/addons/account_reporting/report/account_report_bs.py b/addons/account_reporting/report/account_report_bs.py index 9fe74586633..d21bfbf4f37 100644 --- a/addons/account_reporting/report/account_report_bs.py +++ b/addons/account_reporting/report/account_report_bs.py @@ -20,9 +20,7 @@ ############################################################################## import time -import locale -import pooler from report import report_sxw parents = { @@ -45,7 +43,6 @@ class account_report_bs(report_sxw.rml_parse): def line_total(self, line_id, ctx): _total = 0 bsline = self.pool.get('account.report.bs').browse(self.cr, self.uid, [line_id])[0] - bsline_accids = bsline.account_id res = self.pool.get('account.report.bs').read(self.cr, self.uid, [line_id], ['account_id', 'child_id'])[0] for acc_id in res['account_id']: acc = self.pool.get('account.account').browse(self.cr, self.uid, [acc_id], ctx)[0] diff --git a/addons/account_reporting/wizard/account_reporting_balance_report.py b/addons/account_reporting/wizard/account_reporting_balance_report.py index 780ad212dda..d6461a8b9dc 100644 --- a/addons/account_reporting/wizard/account_reporting_balance_report.py +++ b/addons/account_reporting/wizard/account_reporting_balance_report.py @@ -20,7 +20,6 @@ ############################################################################## from osv import fields, osv -from tools.translate import _ class account_reporting_balance_report(osv.osv_memory):