mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-02 02:01:20 +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:
co-authored by
Siddhartha Ravilla
parent
214f472ec9
commit
76bce6a7b1
@@ -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