[FIX] account: the period was wrong as it didn't take into account the 'not due' period

This commit is contained in:
pvy
2016-07-13 11:23:43 +02:00
parent 15835236f2
commit 65a1c0d060
@@ -148,7 +148,7 @@ class ReportAgedPartnerBalance(models.AbstractModel):
lines[partner_id].append({
'line': line,
'amount': line_amount,
'period': i,
'period': i + 1,
})
history.append(partners_amount)