2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-06 05:30:56 +00:00

Increased unit testing

This commit is contained in:
Oliver
2022-01-09 22:14:48 +11:00
parent 3e2e9aaf9e
commit da9fa1313c
3 changed files with 45 additions and 8 deletions

View File

@ -582,7 +582,7 @@ class Build(MPTTModel, ReferenceIndexingMixin):
self.subtractUntrackedStock(user)
# Ensure that there are no longer any BuildItem objects
# which point to thie Build Order
# which point to thisFcan Build Order
self.allocated_stock.all().delete()
@transaction.atomic