diff --git a/frappe/core/doctype/data_import/exporter.py b/frappe/core/doctype/data_import/exporter.py index 2c9bfd95fd..88d5b2b4b1 100644 --- a/frappe/core/doctype/data_import/exporter.py +++ b/frappe/core/doctype/data_import/exporter.py @@ -197,7 +197,7 @@ class Exporter: # Group children data by parent name grouped_children_data = self.group_children_data_by_parent(child_data) for doc in parent_data: - related_children_docs = grouped_children_data.get(doc.name, {}) + related_children_docs = grouped_children_data.get(str(doc.name), {}) yield {**doc, **related_children_docs} def add_header(self):