fix: data exporter throwing exception
This commit is contained in:
parent
b64cab6867
commit
bf68f76405
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue