mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Merge pull request #140 from inventree/legacy-api
Remove support for legacy stock transfer API code
(cherry picked from commit 333e5bb41d)
This commit is contained in:
parent
d796cd208d
commit
bf722d6b76
6 changed files with 189 additions and 365 deletions
|
|
@ -144,7 +144,7 @@ class InvenTreeAPI {
|
|||
InvenTreeAPI._internal();
|
||||
|
||||
// Minimum required API version for server
|
||||
static const _minApiVersion = 7;
|
||||
static const _minApiVersion = 20;
|
||||
|
||||
bool _strictHttps = false;
|
||||
|
||||
|
|
@ -294,9 +294,6 @@ class InvenTreeAPI {
|
|||
// API endpoint for receiving purchase order line items was introduced in v12
|
||||
bool get supportsPoReceive => apiVersion >= 12;
|
||||
|
||||
// "Modern" API transactions were implemented in API v14
|
||||
bool get supportsModernStockTransactions => apiVersion >= 14;
|
||||
|
||||
/*
|
||||
* Connect to the remote InvenTree server:
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue