2
0
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:
Oliver 2024-10-25 15:54:11 +11:00 committed by GitHub
parent 15cf8591b3
commit 075b62757a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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, [])