[IMP] account_reporting: Removed unused vars
bzr revid: pso@tinyerp.com-20101020105329-o5m2fu973fs5rznq
This commit is contained in:
parent
91b5200c8c
commit
aaa65b3136
|
@ -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]
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
##############################################################################
|
||||
|
||||
from osv import fields, osv
|
||||
from tools.translate import _
|
||||
|
||||
class account_reporting_balance_report(osv.osv_memory):
|
||||
|
||||
|
|
Loading…
Reference in New Issue