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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user