[fix] [minor] default ranges for demo
This commit is contained in:
parent
e5047ec90a
commit
83c0899c83
@ -40,6 +40,13 @@ class ReceivablePayableReport(object):
|
||||
|
||||
columns += [_("Age (Days)") + "::80"]
|
||||
|
||||
if not "range1" in self.filters:
|
||||
self.filters["range1"] = "30"
|
||||
if not "range2" in self.filters:
|
||||
self.filters["range2"] = "60"
|
||||
if not "range3" in self.filters:
|
||||
self.filters["range3"] = "90"
|
||||
|
||||
for label in ("0-{range1}".format(**self.filters),
|
||||
"{range1}-{range2}".format(**self.filters),
|
||||
"{range2}-{range3}".format(**self.filters),
|
||||
|
Loading…
Reference in New Issue
Block a user