Browse Source

[FIX] Cuando se pide IS/1Columna Mostrar Dr-Cr,


			
			
				pull/79/head
			
			
		
unknown 12 years ago
parent
commit
56562e0630
  1. 10
      account_financial_report/report/parser.py

10
account_financial_report/report/parser.py

@ -369,9 +369,17 @@ class account_balance(report_sxw.rml_parse):
'debit': self.exchange(d),
'credit': self.exchange(c),
'ytd': self.exchange(d-c),
'balance': self.exchange(b),
})
if form['inf_type'] == 'IS' and form['columns'] == 'one':
res.update({
'balance': self.exchange(d-c),
})
else:
res.update({
'balance': self.exchange(b),
})
elif form['columns'] == 'thirteen':
pn = 1
for p_id in period_ids:

Loading…
Cancel
Save