mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 11:05:41 +00:00
forgot a py
This commit is contained in:
@ -1132,7 +1132,7 @@ class StockItem(MPTTModel):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
msg = f"{_('Moved to')} {str(location)}"
|
msg = f"{_('Moved to')} {str(location)}"
|
||||||
|
|
||||||
if self.location:
|
if self.location:
|
||||||
msg += f" ({_('from')} {str(self.location)})"
|
msg += f" ({_('from')} {str(self.location)})"
|
||||||
|
|
||||||
@ -1236,7 +1236,7 @@ class StockItem(MPTTModel):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
if self.updateQuantity(self.quantity + quantity):
|
if self.updateQuantity(self.quantity + quantity):
|
||||||
|
|
||||||
n = helpers.normalize(quantity)
|
n = helpers.normalize(quantity)
|
||||||
text = f"{_('Added')} {n} {_('items')}"
|
text = f"{_('Added')} {n} {_('items')}"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user