A visual editor to quickly build InvenTree label templates.
Install this plugin as follows:
-
Goto the Admin Center > Plugins > Plugin Settings and make sure to enable the "Enable interface integration" switch.
-
Click on "Install Plugin" at the top of the Plugins table on that page and enter
inventree-template-editor-plugin
as package name. Enable the "Confirm plugin installation" switch and click "Install". -
Search for the plugin in the table and activate it
Important
At least InvenTree v0.17 is required to use this plugin.
Goto the Admin Center > Label Templates and create a new Label template. Click on it in the table and select the "Label Designer". Click on the shapes on the left bar to add them to the label canvas.
- Install as editable install to your inventree installation via
pip install -e /path/to/inventree-template-editor-plugin
- Enable the plugin
- Install js dependencies via
cd inventree_template_editor/frontend && npm ci
- Enable the dev mode for the plugin to use the vite dev server (that you need to start via
npm run dev
) in the InvenTreeconfig.yml
viacustomize.inventree_template_editor_plugin_dev: true
- Restart InvenTree and start vite dev server via
npm run dev