Skip to main content

A visual editor to build InvenTree label templates.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inventree_template_editor_plugin-0.1.0.tar.gz (211.6 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file inventree_template_editor_plugin-0.1.0.tar.gz.

File metadata

File hashes

Hashes for inventree_template_editor_plugin-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c2304eac55526c2c5147a41c42fbf777c3d877144a54535d9c860aa743c48d5b
MD5 9b3527f955b23b79fc66d1cbb3d53e16
BLAKE2b-256 cf64601e9c5b1a175db87343b10070da753c0a56396d23de963ccdde1f3933e8

See more details on using hashes here.

File details

Details for the file inventree_template_editor_plugin-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for inventree_template_editor_plugin-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea0db3619a3c936371202a91eaac77f0fdd87fc61589e82ccb3340961d81eda8
MD5 13d15eda9d381ebc98a1ce116522a376
BLAKE2b-256 19b2ef84861f79fa47fcc6b607d4fd277f2e6bec5c24e47a3866f9f4adea6d38

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page