From 41485e0e0fb053c525ef6ac8f691a9d02c89dee8 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 20 Apr 2017 22:10:13 +1000 Subject: [PATCH] Style fix --- InvenTree/stock/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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,