mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 13:05:42 +00:00
Control build allocation of optional BOM items (#4090)
* Control build allocation of optional BOM items - User can specify in form whether optional items are allocated - Default = False * Updated unit test
This commit is contained in:
@ -2422,6 +2422,9 @@ function autoAllocateStockToBuild(build_id, bom_items=[], options={}) {
|
||||
substitutes: {
|
||||
value: true,
|
||||
},
|
||||
optional_items: {
|
||||
value: false,
|
||||
},
|
||||
};
|
||||
|
||||
constructForm(`/api/build/${build_id}/auto-allocate/`, {
|
||||
|
Reference in New Issue
Block a user