Prevent overlapping of periods in aged balance for issue1764

This commit is contained in:
Cédric Krier committed 2010-12-31 12:41:01 +01:00
1 parent 682666eb73
commit 53377ebf73
1 file changed
+1 -1
+1 -1
View File
@@ -2241,7 +2241,7 @@ class AgedBalance(Report):
datetime.timedelta(days=term*coef),)
else:
term_query = '(l.maturity_date <= %s '\
'AND l.maturity_date >= %s) '
'AND l.maturity_date > %s) '
term_args = (
date_obj.today() + datetime.timedelta(days=term*coef),
date_obj.today()