mirror of
https://github.com/inventree/inventree-app.git
synced 2026-10-08 00:02:05 +00:00
Test result fixes (#564)
* Fix association of test results to templates * Fixes * Remove unused vars
This commit is contained in:
1 parent
b849bfc718
commit
6f5fc1d8a9
5 files changed
+76
-22
No files matched your search
@@ -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