|
@ -1251,7 +1251,7 @@ class MisReportInstance(models.Model): |
|
|
if not period.valid: |
|
|
if not period.valid: |
|
|
continue |
|
|
continue |
|
|
# add the column header |
|
|
# add the column header |
|
|
if period.duration > 1 or period.type == 'w': |
|
|
|
|
|
|
|
|
if period.duration > 1 or period.type in ('w', 'date_range'): |
|
|
# from, to |
|
|
# from, to |
|
|
date_from = self._format_date(lang_id, period.date_from) |
|
|
date_from = self._format_date(lang_id, period.date_from) |
|
|
date_to = self._format_date(lang_id, period.date_to) |
|
|
date_to = self._format_date(lang_id, period.date_to) |
|
|