Data Import does not support recursive tree doctypes like Item Group
See original GitHub issueDescription of the issue
The ERPNext Chart of Accounts Importer supports the recursive tree structure The main Data import tool does not
Context information (for bug reports)
Output of bench version
Frappe Framework: v13.x.x-develop () (develop)
Steps to reproduce the issue
- Create a tree in ERPNext Item Group
- Export it (using the Data Import tool)
- Delete the tree
- Import the same file
Observed result
Errors about the Parent Item Group not existing when it’s already in the file
Expected result
Import success
Stacktrace / full error message
Import File Errors and Warnings
COLUMN 3 (Parent Item Group)
The following values do not exist for Item Group: Surfaces, Accessories
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
erpnext/bom.py at develop · frappe/erpnext - GitHub
from erpnext.stock.doctype.item.item import get_item_details ... Same item can appear recursively once as long as it doesn't have BOM.
Read more >Generating a recursive sitemap with relative href links
The way I am currently setting the value for href obviously does not work. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> ...
Read more >Database Engine events and errors - SQL Server
Consult this MSSQL error code list to find explanations for error messages for SQL Server database engine events.
Read more >Beautiful Soup Documentation — Beautiful Soup 4.4.0 ...
Beautiful Soup is a Python library for pulling data out of HTML and XML files. It works with your favorite parser to provide...
Read more >XSL Transformations (XSLT) Version 3.0 - W3C
XSLT 3.0 does not require implementations to support XPath 3.1 in its ... package is assembled by recursively expanding the xsl:import and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sounds like this could be due to order of operations/insertion, so we might need to first build the tree in memory and then insert it. Good catch 👍
hi, If there is a PR with the solution but some documentation issues are missing, shouldn’t it be helped to pass this point?
It leaves the importer out of place in any erpnext categorization.