diff --git a/InvenTree/stock/models.py b/InvenTree/stock/models.py index 5154bfe1a1..877661dd7f 100644 --- a/InvenTree/stock/models.py +++ b/InvenTree/stock/models.py @@ -115,11 +115,10 @@ class StockItem(models.Model): q = self.quantity + amount if q < 0: q = 0 - + self.quantity = q self.save() - def __str__(self): return "{n} x {part} @ {loc}".format( n=self.quantity,