mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 20:46:47 +00:00
* Adds BuildLineLabel model - New type of label for printing against BuildLine objects * Add serializer for new model * Add API endpoints for new label type * Add hooks to BuildLine table * Create default label - Create an example BuildLineLabel object * Add admin integration * Fix js code * Use two-tiered template - Allows base template to be updated * Improve default label * Add docs pages for labels * Update nav * Documentation for new label * Add permission role * Bump API version
25 lines
648 B
Markdown
25 lines
648 B
Markdown
---
|
|
title: Location Labels
|
|
---
|
|
|
|
|
|
## Stock Location Labels
|
|
|
|
Stock Location label templates are used to generate labels for individual Stock Locations.
|
|
|
|
### Creating Stock Location Label Templates
|
|
|
|
Stock Location label templates are added (and edited) via the admin interface.
|
|
|
|
### Printing Stock Location Labels
|
|
|
|
To print a single label from the Stock Location detail view, select the *Print Label* option.
|
|
|
|
### Context Data
|
|
|
|
The following variables are made available to the StockLocation label template:
|
|
|
|
| Variable | Description |
|
|
| -------- | ----------- |
|
|
| location | The [StockLocation](../context_variables.md#stocklocation) object itself |
|