Browse Source

[FIX] open invoices report: when a fiscal year is selected, start from the first special period instead of the first period of the fiscal year. Otherwise outstanding invoices from previous years are not shown. (README states that it "shows open invoices from previous years")

pull/362/head
Jacques-Etienne Baudoux 7 years ago
parent
commit
f43fb6805d
  1. 2
      account_financial_report_webkit/report/open_invoices.py

2
account_financial_report_webkit/report/open_invoices.py

@ -120,7 +120,7 @@ class PartnersOpenInvoicesWebkit(report_sxw.rml_parse,
group_by_currency = self._get_form_param('group_by_currency', data)
if main_filter == 'filter_no' and fiscalyear:
start_period = self.get_first_fiscalyear_period(fiscalyear)
start_period = self._get_first_special_period()
stop_period = self.get_last_fiscalyear_period(fiscalyear)
# Retrieving accounts

Loading…
Cancel
Save