2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 12:06:44 +00:00

Add note on creation of StockItem

This commit is contained in:
Oliver Walters 2019-04-25 22:10:46 +10:00
parent 533fdb71c4
commit 79f8736b6b

View File

@ -67,6 +67,7 @@ class StockItem(models.Model):
self.add_transaction_note( self.add_transaction_note(
'Created stock item', 'Created stock item',
None, None,
notes="Created new stock item for part '{p}'".format(p=str(self.part)),
system=True system=True
) )