mirror of
https://github.com/inventree/inventree-app.git
synced 2026-02-06 12:55:50 +00:00
Part requirements (#761)
* Add setting to control if part requirements are shown * Split settings for Part and Stock * Fetch part requirements information * Add "building" indicator * Show order allocation progress for part requirements * Bump release notes * Remove unused import
This commit is contained in:
@@ -353,6 +353,9 @@ class InvenTreeAPI {
|
||||
// Supports separate search against "supplier" / "customer" / "manufacturer"
|
||||
bool get supportsSplitCompanySearch => apiVersion >= 315;
|
||||
|
||||
// Supports "requirements" information for specific part
|
||||
bool get supportsPartRequirements => apiVersion >= 350;
|
||||
|
||||
// Does the server support the "modern" (consolidated) parameter API?
|
||||
// Ref: https://github.com/inventree/InvenTree/pull/10699
|
||||
bool get supportsModernParameters => apiVersion >= 429;
|
||||
|
||||
Reference in New Issue
Block a user