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