Browse Source

[FIX] stylistic improvement suggested by Alexandre Fayolle

(lp:c2c-addons/6.1  rev 80.1.10)
Guewen Baconnier @ Camptocamp 12 years ago
parent
commit
56b4044f89
  1. 4
      account_financial_report_webkit/report/common_partner_reports.py

4
account_financial_report_webkit/report/common_partner_reports.py

@ -91,9 +91,9 @@ class CommonPartnersReportHeaderWebkit(CommonReportHeaderWebkit):
fiscalyear=fiscalyear, fiscalyear=fiscalyear,
stop_at_previous_opening=stop_at_previous_opening) stop_at_previous_opening=stop_at_previous_opening)
first_special = self._get_first_special_period() first_special = self._get_first_special_period()
if first_special:
if first_special and first_special.id not in periods:
periods.append(first_special.id) periods.append(first_special.id)
return list(set(periods))
return periods
def _get_query_params_from_periods(self, period_start, period_stop, mode='exclude_opening'): def _get_query_params_from_periods(self, period_start, period_stop, mode='exclude_opening'):
""" """

Loading…
Cancel
Save