2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-09 07:00:56 +00:00
This commit is contained in:
Oliver Walters
2021-05-12 10:09:02 +10:00
parent 68b53acbf1
commit 30ff48d803
2 changed files with 3 additions and 3 deletions

View File

@ -981,7 +981,6 @@ class StockItem(MPTTModel):
date=datetime.now(),
notes=notes,
deltas=deltas,
system=True
)
entry.save()
@ -1048,7 +1047,7 @@ class StockItem(MPTTModel):
new_item.location = location
# The item already has a transaction history, don't create a new note
new_item.save(user=user, note=False)
new_item.save(user=user, notes=notes)
# Copy entire transaction history
new_item.copyHistoryFrom(self)