Skip to content

Commit

Permalink
Merge pull request #21059 from frappe/mergify/bp/version-14-hotfix/pr…
Browse files Browse the repository at this point in the history
…-21057

Fix exporter name type (backport #21057)
  • Loading branch information
surajshetty3416 committed May 22, 2023
2 parents 44b1843 + e57f420 commit b2389e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/core/doctype/data_import/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def format_column_name(df):
# 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):
Expand Down

0 comments on commit b2389e6

Please sign in to comment.