Skip to content

Data Import Wizard - #6792

Closed
SchrodingersGat wants to merge 2 commits into
inventree:masterfrom
SchrodingersGat:data-wizard
Closed

SchrodingersGat wants to merge 2 commits into
inventree:masterfrom
SchrodingersGat:data-wizard

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member

A fresh start on the data import wizard config, which uses existing django-rest-framework serializers to import data from an external file.

Roadmap

  • Implement data import for existing serialises using data-wizard
  • Expose custom API endpoints to handle this process via new react interface
  • Implement front-end user interface elements for data import managing
  • Remove existing custom import logic (lots of custom forms e.g. for BOM data import)
  • Remove django-import-export entirely
  • Use existing "validation" of rest serializers
  • Process final import task using background worker (if possible)
  • Add custom framework for "exporting" data using serializers
  • Allow manual override of field values (see below)

Field Override

For some import processes, we have important "context" information we want to provide. For example, if we are importing a list of "purchase order line items" for a specific order, we do not want to specify the "order" for each row. Instead, we want to override the imported rows with a specific value for the "order" ID. So, we need to be able to override this data somehow...

References

@netlify

netlify Bot commented Mar 21, 2024 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit 62b06d9
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/65fc2f8ead067c00082d4f02

@matmair

matmair commented Mar 21, 2024

Copy link
Copy Markdown
Member

Very exciting, let me know if I can support in any way!

@SchrodingersGat

Copy link
Copy Markdown
Member Author

Replaced by #6911

@SchrodingersGat
SchrodingersGat deleted the data-wizard branch April 2, 2024 03:44
@SchrodingersGat SchrodingersGat mentioned this pull request Apr 2, 2024
10 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FR] Import tool refactor

2 participants