2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-13 10:45:29 +00:00

Test result fixes (#564)

* Fix association of test results to templates

* Fixes

* Remove unused vars
This commit is contained in:
Oliver
2024-12-06 10:59:49 +11:00
committed by GitHub
parent b849bfc718
commit 6f5fc1d8a9
5 changed files with 76 additions and 22 deletions

View File

@ -316,6 +316,10 @@ class InvenTreeAPI {
// Does the server support allocating stock to sales order using barcodes?
bool get supportsBarcodeSOAllocateEndpoint => isConnected() && apiVersion >= 160;
// Does the server support the "modern" test results API
// Ref: https://github.com/inventree/InvenTree/pull/6430/
bool get supportsModernTestResults => isConnected() && apiVersion >= 169;
// Does the server support "null" top-level filtering for PartCategory and StockLocation endpoints?
bool get supportsNullTopLevelFiltering => isConnected() && apiVersion < 174;