Support "creation_date" field for StockItem (#823)

Ref: https://github.com/inventree/InvenTree/pull/12011
This commit is contained in:
Oliver authored and GitHub committed 2026-05-27 20:01:03 +10:00
1 parent 8077c16b6a
commit 86b126f129
4 files changed
+38 -9

No files matched your search

+4
View File
@@ -361,6 +361,10 @@ class InvenTreeAPI {
// Ref: https://github.com/inventree/InvenTree/pull/11963
bool get supportsNewUserEndpoints => apiVersion >= 490;
// Does the server support the "creation_date" field on the StockItem model?
// Ref: https://github.com/inventree/InvenTree/pull/12011
bool get supportsStockItemCreationDate => apiVersion >= 496;
// Cached list of plugins (refreshed when we connect to the server)
List<InvenTreePlugin> _plugins = [];