2
0
mirror of https://github.com/inventree/inventree-app.git synced 2026-03-11 04:34:29 +00:00

[bug] Fix for testable items (#796)

- Show test results
This commit is contained in:
Oliver
2026-03-09 21:43:53 +11:00
committed by GitHub
parent 7dcd35e56c
commit ec9a7176a2
3 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
## 0.22.6 - March 2026
---
- Fix for displaying stock item test results
## 0.22.5 - March 2026 ## 0.22.5 - March 2026
--- ---

View File

@@ -225,7 +225,7 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
// Request part information // Request part information
part = await InvenTreePart().get(widget.item.partId) as InvenTreePart?; part = await InvenTreePart().get(widget.item.partId) as InvenTreePart?;
stockShowTests &= part?.isTrackable ?? false; stockShowTests &= part?.isTestable ?? false;
// Request default location // Request default location
int? defaultLocationId = part?.defaultLocation; int? defaultLocationId = part?.defaultLocation;

View File

@@ -1,7 +1,7 @@
name: inventree name: inventree
description: InvenTree stock management description: InvenTree stock management
version: 0.22.5+114 version: 0.22.6+115
environment: environment:
sdk: ^3.8.1 sdk: ^3.8.1