mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Test result fixes (#564)
* Fix association of test results to templates * Fixes * Remove unused vars
This commit is contained in:
parent
b849bfc718
commit
6f5fc1d8a9
5 changed files with 76 additions and 22 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue