mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Style fix
This commit is contained in:
parent
2c28ef6b3c
commit
41485e0e0f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user