[IMP] Minor improvements

pull/7/merge
Humberto Arocha 2013-06-20 00:32:51 -05:30
parent 26491fc7ed
commit 5948cd5909
1 changed files with 1 additions and 4 deletions

View File

@ -654,8 +654,7 @@ class account_balance(report_sxw.rml_parse):
} }
if form['columns'] == 'qtr': if form['columns'] == 'qtr':
pn = 1 for pn in range(1,5):
for p_id in p:
if form['inf_type'] == 'IS': if form['inf_type'] == 'IS':
d, c, b = map(z, [ d, c, b = map(z, [
@ -675,8 +674,6 @@ class account_balance(report_sxw.rml_parse):
'bal%s' % pn: self.exchange(b), 'bal%s' % pn: self.exchange(b),
}) })
pn += 1
if form['inf_type'] == 'IS': if form['inf_type'] == 'IS':
d, c, b = map(z, [ d, c, b = map(z, [
all_account_period['all'][id]['debit'], all_account_period['all'][id]['credit'], all_account_period['all'][id]['balance']]) all_account_period['all'][id]['debit'], all_account_period['all'][id]['credit'], all_account_period['all'][id]['balance']])