Update supportsPricingRole to require apiVersion 562 (#896)

This commit is contained in:
Oliver authored and GitHub committed 2026-10-21 13:23:32 +11:00
1 parent a76675dd4d
commit 3a228dfc1f
1 file changed
+1 -1
+1 -1
View File
@@ -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