Merge branch 'main' of https://code.sdsdev.co.kr/SDSRV-IDP/sbt-idp into fix/report-time

This commit is contained in:
Viet Anh Nguyen 2024-02-07 13:18:25 +07:00
commit 722ad16e3c

View File

@ -275,7 +275,6 @@ def make_a_report_2(report_id, query_set):
report.status = "Ready"
report.save()
# Saving a xlsx file
report_files = ReportFile.objects.filter(report=report)
data = extract_report_detail_list(report_files, lower=True)
data_workbook = dict2xlsx(data, _type='report_detail')
local_workbook = save_workbook_file(report.report_id + ".xlsx", report, data_workbook)