diff --git a/project_report/report/project_timesheet_report.py b/project_report/report/project_timesheet_report.py index 8cbbc50..c2a4d8a 100755 --- a/project_report/report/project_timesheet_report.py +++ b/project_report/report/project_timesheet_report.py @@ -48,11 +48,11 @@ class ProjectTimesheetReport(models.Model): fields_name = dict(zip(fields, index)) res = super(ProjectTimesheetReport, self).export_data(fields) for index, val in enumerate(res['datas']): - if fields_name.get('start_date') is not None: + """if fields_name.get('start_date') is not None: tdateindex = fields_name.get('start_date') tdate = res['datas'][index][tdateindex] if tdate: - res['datas'][index][tdateindex] = datetime.strftime(tdate, "%d/%m/%Y") + res['datas'][index][tdateindex] = datetime.strftime(tdate, "%d/%m/%Y")""" if fields_name.get('task_id') is not None: taskindex = fields_name.get('task_id') ttask = res['datas'][index][taskindex]