From 3a228dfc1fdb5b6026387f6f0c6203b24aac5e7f Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 21 Oct 2026 13:23:32 +1100 Subject: [PATCH] Update supportsPricingRole to require apiVersion 562 (#896) --- lib/api.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api.dart b/lib/api.dart index 0836724b..cde306b0 100644 --- a/lib/api.dart +++ b/lib/api.dart @@ -352,7 +352,7 @@ class InvenTreeAPI { // Does the server support the "pricing" user role? // (Pricing endpoints also moved to the /api/pricing/ namespace) // Ref: https://github.com/inventree/InvenTree/pull/13034 - bool get supportsPricingRole => apiVersion >= 561; + bool get supportsPricingRole => apiVersion >= 562; // Can the current user view part pricing information? // Older servers do not have a separate "pricing" role, so no check is performed