Skip to content

Commit

Permalink
Bug fix for auto-allocation against build order (#8359)
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat authored Oct 25, 2024
1 parent 15cf859 commit 075b627
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/backend/InvenTree/build/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,6 @@ def create_build_output(self, quantity, **kwargs):

# 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, [])
Expand Down

0 comments on commit 075b627

Please sign in to comment.