Closed hari-madhavan closed 1 year ago
@hari-madhavan What columns does the template file has? Can you post the template file here?
Hi @ruthra-kumar ,
I downloaded the file from the "Download Template: options of "Data Import" for Sales Invoice doctype and then selected all fields except the ids of the child doctypes and then changed just the Sales Invoice "ID" so that I get a unique record to import. Sample attached. Sales_Invoice.xlsx
Description of the issue
When executing data import for sales invoice on an instance with just the latest version of frappe 14 and erpnext 14, and the sales invoice does not have taxes the data import fails with
Context information (for bug reports)
Tried with a fresh site with just frappe and erpnext . It seems to be related to a second child table under the same tab which does not have any data ( not sure ) as it goes through if some tax details are provided .
Output of
bench version
Output of
bench list-apps
Steps to reproduce the issue
The error is reproduced
Observed result
Import seems to fail when a doctype has multiple child tables in the same tab having different number of records
Expected result
Import should allow both child tables to have different sets of records . Btw this functionality worked fine in 13
Stacktrace / full error message
Additional information
OS version / distribution,
Frappe
install method, etc.