Browse Source

fix: data exporter throwing exception

version-14
ruthra 3 years ago
parent
commit
bf68f76405
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/core/doctype/data_export/exporter.py

+ 1
- 1
frappe/core/doctype/data_export/exporter.py View File

@@ -314,7 +314,7 @@ class DataExporter:
.where(child_doctype_table.parentfield == c["parentfield"])
.orderby(child_doctype_table.idx)
)
for ci, child in enumerate(data_row.run()):
for ci, child in enumerate(data_row.run(as_dict=True)):
self.add_data_row(rows, c['doctype'], c['parentfield'], child, ci)

for row in rows:


Loading…
Cancel
Save