Fix: empty report detail
This commit is contained in:
parent
8bf13792aa
commit
34882e6165
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user