mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Stock transfer extra (#420)
* Add API version check * Support "packaging" and "status" fields when performing a stock-transfer action * Update release notes
This commit is contained in:
parent
9203ee8a3f
commit
dd12769a51
3 changed files with 24 additions and 0 deletions
|
|
@ -323,6 +323,9 @@ class InvenTreeAPI {
|
|||
// Project codes require v109 or newer
|
||||
bool get supportsProjectCodes => isConnected() && apiVersion >= 109;
|
||||
|
||||
// Does the server support extra fields on stock adjustment actions?
|
||||
bool get supportsStockAdjustExtraFields => isConnected() && apiVersion >= 133;
|
||||
|
||||
// Are plugins enabled on the server?
|
||||
bool _pluginsEnabled = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue