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.

screenshot

⚙️ 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.18 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) by setting the INVENTREE_TEMPLATE_EDITOR_DEV=True variable when running the inventree server.
  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.2.1.tar.gz (211.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

inventree_template_editor_plugin-0.2.1-py3-none-any.whl (211.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for inventree_template_editor_plugin-0.2.1.tar.gz
Algorithm Hash digest
SHA256 60658a7552b5c0a31363dc93282eddf9f3b7f0b9bf923efee62e7dcd2e4a8604
MD5 cd7113f4714d7dd579dda2b0be163c72
BLAKE2b-256 0af686fecf2b4efad5f7a5b48364caa6930200651f6a1db07aec87059ecb9570

See more details on using hashes here.

Provenance

The following attestation bundles were made for inventree_template_editor_plugin-0.2.1.tar.gz:

Publisher: ci.yml on wolflu05/inventree-template-editor-plugin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for inventree_template_editor_plugin-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 22f605eab0d68ba4777482c9610b16f86b8c5d4401092ef5e826ad057b2d2edf
MD5 7897c62e41028019d67654c343dc9475
BLAKE2b-256 cda7d28b1fc98627333a25940e099bcbefaa15af4f022d20a1eae9336dccdd3f

See more details on using hashes here.

Provenance

The following attestation bundles were made for inventree_template_editor_plugin-0.2.1-py3-none-any.whl:

Publisher: ci.yml on wolflu05/inventree-template-editor-plugin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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