mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Label fix (#533)
* Bug fix for stock item label printing - Simple typo - Closes https://github.com/inventree/inventree-app/issues/531 * Update version
This commit is contained in:
parent
51ae10af7f
commit
31cda0823a
3 changed files with 7 additions and 2 deletions
|
|
@ -259,7 +259,7 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
|
|||
// Request information on labels available for this stock item
|
||||
if (allowLabelPrinting) {
|
||||
|
||||
String model_type = api.supportsModernLabelPrinting ? InvenTreeStockLocation().MODEL_TYPE : "stock";
|
||||
String model_type = api.supportsModernLabelPrinting ? InvenTreeStockItem().MODEL_TYPE : "stock";
|
||||
String item_key = api.supportsModernLabelPrinting ? "items" : "item";
|
||||
|
||||
// Clear the existing labels list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue