forgot a py

This commit is contained in:
Matthias 2021-05-06 14:41:26 +02:00
parent d5b65e6e41
commit c1bcc60f0a

View File

@ -1132,7 +1132,7 @@ class StockItem(MPTTModel):
return True
msg = f"{_('Moved to')} {str(location)}"
if self.location:
msg += f" ({_('from')} {str(self.location)})"
@ -1236,7 +1236,7 @@ class StockItem(MPTTModel):
return False
if self.updateQuantity(self.quantity + quantity):
n = helpers.normalize(quantity)
text = f"{_('Added')} {n} {_('items')}"