Skip to content

wolflu05/inventree-template-editor-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

inventree-template-editor-plugin

License: GPL3 CI

A visual editor to quickly build InvenTree label templates.

⚙️ Installation

Install this plugin as follows:

  1. Goto the Admin Center > Plugins > Plugin Settings and make sure to enable the "Enable interface integration" switch.

  2. 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".

  3. Search for the plugin in the table and activate it

Important

At least InvenTree v0.17 is required to use this plugin.

🏃 Usage

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.

🧑‍💻 Development

  1. Install as editable install to your inventree installation via pip install -e /path/to/inventree-template-editor-plugin
  2. Enable the plugin
  3. Install js dependencies via cd inventree_template_editor/frontend && npm ci
  4. Enable the dev mode for the plugin to use the vite dev server (that you need to start via npm run dev) in the InvenTree config.yml via customize.inventree_template_editor_plugin_dev: true
  5. Restart InvenTree and start vite dev server via npm run dev

About

A visual editor to build InvenTree label templates

Resources

License

Stars

Watchers

Forks

Packages

No packages published