|
|
@ -45,6 +45,7 @@ def make_ranges(top, offset): |
|
|
|
ranges.append((top, 100000000000)) |
|
|
|
return ranges |
|
|
|
|
|
|
|
|
|
|
|
# list of overdue ranges |
|
|
|
RANGES = make_ranges(120, 30) |
|
|
|
|
|
|
@ -56,6 +57,7 @@ def make_ranges_titles(): |
|
|
|
titles.append(_('Overdue > %s d.') % RANGES[-1][0]) |
|
|
|
return titles |
|
|
|
|
|
|
|
|
|
|
|
# list of overdue ranges title |
|
|
|
RANGES_TITLES = make_ranges_titles() |
|
|
|
# list of payable journal types |
|
|
@ -408,6 +410,7 @@ class AccountAgedOpenInvoicesWebkit(PartnersOpenInvoicesWebkit): |
|
|
|
res = self.cr.fetchall() |
|
|
|
return dict((x[0], x[1]) for x in res) |
|
|
|
|
|
|
|
|
|
|
|
HeaderFooterTextWebKitParser( |
|
|
|
'report.account.account_aged_open_invoices_webkit', |
|
|
|
'account.account', |
|
|
|