diff --git a/src/backend/InvenTree/build/models.py b/src/backend/InvenTree/build/models.py index 66a01c4004..633705f5f8 100644 --- a/src/backend/InvenTree/build/models.py +++ b/src/backend/InvenTree/build/models.py @@ -887,7 +887,6 @@ class Build( # Auto-allocate stock based on serial number if auto_allocate: - allocations = [] for bom_item in trackable_parts: valid_part_ids = valid_parts.get(bom_item.pk, [])