inventree-bulk-plugin
wolflu05
last modified: 03 Dec 2024
Bulk creation plugin for InvenTree
inventree-bulk-plugin
This plugin helps you bulk create storage locations and part categories in InvenTree by using customized naming strategies. That means you not only have the option to generate multidimensional* names for stock locations or part categories, but also have the option to save the templates for later usage if your storage room uses e.g. drawer towers, saved templates help to ensure naming consistency for all later added towers.
ℹ️ * multidimensional means that you are not limited to namings like
D1
,D2
, .. but also something likeD1.A
,D1.B
,D2.A
,D2.B
, …
This will generate the previous mentioned example:
If you want to try out the templates on you’re own, you can just copy the below json to your clipboard and use the “New untitled schema from clipboard” button to import them (see import/export). For more examples refer to the plugin documentation.
{"name":"Example","template_type":"STOCK_LOCATION","template":{"version":"1.0.0","input":{},"templates":[],"output":{"parent_name_match":"true","dimensions":["*NUMERIC","*ALPHA"],"count":["3","2"],"generate":{"name":"D."},"childs":[]}}}
⚙️ Installation
Install this plugin as follows:
- Make sure you allow the use of the url integration and app integration (see Why does this plugin needs the app mixin?)
- Goto Settings > Plugins > Install Plugin, enter
inventree-bulk-plugin
as package name. Enable the confirm switch and click submit. - Restart your server and activate the plugin.
- Stop your server and run
invoke update
(for docker installs it isdocker-compose inventree-server invoke update
). This ensures that all migrations run and the static files get collected. You can now start your server again and start using the plugin.
❗At least InvenTree v0.12.7 is required to use this plugin.
📖 Documentation
Refer to the plugin documentation for further examples, instructions and information.
Detail section
License:
MIT
inventree-bulk-plugin
Issue Tracker
Sourcecode on GitHub
wolflu05/inventree-bulk-plugin