2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-13 10:45:29 +00:00
(cherry picked from commit 94125667d9cdd1bd486aa58a2c4908c143b47225)
This commit is contained in:
Oliver
2024-12-11 15:48:24 +11:00
parent 0ef72dc3dd
commit 08e01a729b
4 changed files with 15 additions and 0 deletions

View File

@ -333,6 +333,10 @@ class InvenTreeAPI {
// Ref: https://github.com/inventree/InvenTree/pull/7420
bool get supportsModernAttachments => isConnected() && apiVersion >= 207;
// Does the server support the "destination" field on the PurchaseOrder model?
// Ref: https://github.com/inventree/InvenTree/pull/8403
bool get supportsPurchaseOrderDestination => isConnected() && apiVersion >= 276;
// Cached list of plugins (refreshed when we connect to the server)
List<InvenTreePlugin> _plugins = [];