mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 13:05:42 +00:00
PEP fixes
This commit is contained in:
@ -265,6 +265,9 @@ class Build(MPTTModel):
|
||||
for build_item in self.allocated_stock.all().prefetch_related('stock_item'):
|
||||
build_item.complete_allocation(user)
|
||||
|
||||
# TODO - Remove the builditem from the database
|
||||
# build_item.delete()
|
||||
|
||||
notes = 'Built {q} on {now}'.format(
|
||||
q=self.quantity,
|
||||
now=str(datetime.now().date())
|
||||
|
Reference in New Issue
Block a user