mirror of
https://github.com/inventree/inventree-app.git
synced 2026-09-09 03:10:14 +00:00
Add extra filtering options for supplier parts (#868)
* Add extra filtering options for supplier parts * Update release notes * Allow edit of "primary" field
This commit is contained in:
@@ -326,6 +326,9 @@ class InvenTreeAPI {
|
||||
// Ref: https://github.com/inventree/InvenTree/pull/10699
|
||||
bool get supportsModernParameters => apiVersion >= 429;
|
||||
|
||||
// Does the support support the "primary" field on SupplierPart model?
|
||||
bool get supportsSupplierPartPrimaryField => apiVersion >= 456;
|
||||
|
||||
// Does the server use the new "user/me/" endpoints?
|
||||
// Ref: https://github.com/inventree/InvenTree/pull/11963
|
||||
bool get supportsNewUserEndpoints => apiVersion >= 490;
|
||||
|
||||
Reference in New Issue
Block a user