2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-27 21:16:45 +00:00
inventree-website/_repo/inventree-bulk-plugin.md
Lukas ec16cb5573
Update inventree-bulk-plugin.md
Don't include the full readme, just the few core points+install guide and link to the readme for further documentation
2023-09-20 22:39:46 +02:00

2.9 KiB
Raw Blame History

name, author, license, open_source, stable, maintained, pypi, package_name, github, gitlab, source, issue_tracker, website, categories, tags
name author license open_source stable maintained pypi package_name github gitlab source issue_tracker website categories tags
inventree-bulk-plugin wolflu05 MIT true true true true inventree-bulk-plugin https://github.com/wolflu05/inventree-bulk-plugin https://github.com/wolflu05/inventree-bulk-plugin/issues AppMixin Bulk Stock Part Locations

Bulk creation plugin for InvenTree

inventree-bulk-plugin

License: MIT CI

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 like D1.A, D1.B, D2.A, D2.B, ...

This will generate the previous mentioned example:

image

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{{dim.1}}.{{dim.2}}"},"childs":[]}}}

⚙️ Installation

Install this plugin as follows:

  1. Make sure you allow the use of the url integration and app integration (see Why does this plugin needs the app mixin?)
  2. Goto Settings > Plugins > Install Plugin, enter inventree-bulk-plugin as package name. Enable the confirm switch and click submit.
  3. Restart your server and activate the plugin.
  4. Stop your server and run invoke update (for docker installs it is docker-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.