瀏覽代碼

fix: data exporter throwing exception

version-14
ruthra 3 年之前
父節點
當前提交
bf68f76405
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      frappe/core/doctype/data_export/exporter.py

+ 1
- 1
frappe/core/doctype/data_export/exporter.py 查看文件

@@ -314,7 +314,7 @@ class DataExporter:
.where(child_doctype_table.parentfield == c["parentfield"]) .where(child_doctype_table.parentfield == c["parentfield"])
.orderby(child_doctype_table.idx) .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) self.add_data_row(rows, c['doctype'], c['parentfield'], child, ci)


for row in rows: for row in rows:


Loading…
取消
儲存