mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
Bug fix for auto-allocation against build order (#8359)
This commit is contained in:
parent
15cf8591b3
commit
075b62757a
@ -887,7 +887,6 @@ class Build(
|
|||||||
|
|
||||||
# Auto-allocate stock based on serial number
|
# Auto-allocate stock based on serial number
|
||||||
if auto_allocate:
|
if auto_allocate:
|
||||||
allocations = []
|
|
||||||
|
|
||||||
for bom_item in trackable_parts:
|
for bom_item in trackable_parts:
|
||||||
valid_part_ids = valid_parts.get(bom_item.pk, [])
|
valid_part_ids = valid_parts.get(bom_item.pk, [])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user