Browse Source

[IMP] Minor improvements

pull/7/merge
Humberto Arocha 12 years ago
parent
commit
5948cd5909
  1. 5
      account_financial_report/report/parser.py

5
account_financial_report/report/parser.py

@ -654,8 +654,7 @@ class account_balance(report_sxw.rml_parse):
} }
if form['columns'] == 'qtr': if form['columns'] == 'qtr':
pn = 1
for p_id in p:
for pn in range(1,5):
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']])

Loading…
Cancel
Save