From c1bcc60f0aaeba2b79844eec80f9dbb952ebd8dc Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 6 May 2021 14:41:26 +0200 Subject: [PATCH] forgot a py --- InvenTree/stock/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/stock/models.py b/InvenTree/stock/models.py index 125a534f08..8f9001f158 100644 --- a/InvenTree/stock/models.py +++ b/InvenTree/stock/models.py @@ -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')}"