Bug involves incorrect handling of doctype in child documents during paste operation.
The issue occurs when pasting JSON content into ERPNext, where child documents lose their doctype information, leading to empty fields. The fix involves ensuring doctype is correctly set for child documents. The maintainer has requested a PR with a video demonstration.
Output of bench version
(paste here)
only empty fields records pasted
fields correctly copied
(paste here)
in the doctype json files, only child table field name is mentioned, in each child record there is no DocType, the copy_doc function relies on the doctype info to correctly copy the child doc.
{
"doctype": "DocType",
'name':'dummy'
"fields": [
{
"fieldname": "holiday_date",
"label": "Date",
}]
}
the following highlighted line to be added.

OS version / distribution, Frappe install method, etc.
Claim this issue to let others know you're working on it. You'll earn 10 points when you complete it!