[IMP] Minor improvements
parent
26491fc7ed
commit
5948cd5909
|
@ -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']])
|
||||||
|
|
Loading…
Reference in New Issue