mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-20 15:05:12 +00:00
Fix Install Stock Items shows only selected parts (#12596)
* Bug Fix Install Stock Item showing variant stock when BOM disallows variants * Add regression test for include_variants stock filter --------- Co-authored-by: Siddhartha Ravilla <ravilla.si@northeastern.edu>
This commit is contained in:
1 parent
214f472ec9
commit
76bce6a7b1
2 files changed
+45
-1
No files matched your search
@@ -411,7 +411,8 @@ export function useStockItemInstallFields({
|
||||
in_stock: true,
|
||||
available: true,
|
||||
tracked: true,
|
||||
part: selectedPart ? selectedPart : undefined
|
||||
part: selectedPart ? selectedPart : undefined,
|
||||
include_variants: false
|
||||
}
|
||||
},
|
||||
quantity: {},
|
||||
|
||||
Reference in new issue
Block a user