Skip to content

[Feature] Data export plugins - #9096

Merged
SchrodingersGat merged 113 commits into
inventree:masterfrom
SchrodingersGat:data-export-plugins
Mar 18, 2025
Merged

SchrodingersGat merged 113 commits into
inventree:masterfrom
SchrodingersGat:data-export-plugins

Conversation

@SchrodingersGat

@SchrodingersGat SchrodingersGat commented Feb 18, 2025 •

Copy link
Copy Markdown
Member

This PR adds the ability to define custom plugins which augment data export procedure.

  • The "default" export action is offloaded to a builtin plugin.
  • Moves "exporter" code out of the "importer" app
  • Adds a new "export" output - will allow exports to be processed in the background, in future
  • A bunch of refactoring too

Related Issues

TODO

  • Documentation for new plugin class
  • Add unit tests for BOM exporter
  • Playwright tests
  • Implement multi-level BOM export
  • Export supplier data
  • Export manufacturer data
  • Export substitute part data
  • Export part parameter data
  • Offload data export to the background worker (ref: [WIP] Background reports #9199)

@SchrodingersGat SchrodingersGat added enhancement This is an suggested enhancement or new feature import / export Data importing, exporting and processing refactor labels Feb 18, 2025
SchrodingersGat added a commit to inventree/inventree-python that referenced this pull request Mar 7, 2025
* Update API level for "modern" report templates

* Adjust unit testing

- Support new report printing API
- Ref: inventree/InvenTree#9096
SchrodingersGat added a commit to inventree/inventree-python that referenced this pull request Mar 7, 2025
@SchrodingersGat
SchrodingersGat merged commit 8d51aa1 into inventree:master Mar 18, 2025
@SchrodingersGat
SchrodingersGat deleted the data-export-plugins branch March 18, 2025 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation enhancement This is an suggested enhancement or new feature feature import / export Data importing, exporting and processing plugin Plugin ecosystem refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exporting Internal Server Error at exactly 30 Seconds [Refactor] Allow old cascading BOM export in new UI [1.0.0] Reimplement old BOM exporter

2 participants