mirror of
https://github.com/inventree/inventree-app.git
synced 2025-04-27 21:16:48 +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
@ -1,3 +1,8 @@
|
||||
### 0.16.4 - September 2024
|
||||
---
|
||||
|
||||
- Fixes bug related to printing stock item labels
|
||||
|
||||
### 0.16.3 - August 2024
|
||||
---
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,7 +1,7 @@
|
||||
name: inventree
|
||||
description: InvenTree stock management
|
||||
|
||||
version: 0.16.3+89
|
||||
version: 0.16.4+90
|
||||
|
||||
environment:
|
||||
sdk: ">=2.19.5 <3.13.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user