2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-06 05:30:56 +00:00

Update stock item variant conversion form to use new function

This commit is contained in:
Oliver
2022-04-19 13:04:17 +10:00
parent 87de7e4beb
commit 48170ee096
2 changed files with 14 additions and 1 deletions

View File

@ -739,7 +739,10 @@ class StockItem(MPTTModel):
self.add_tracking_entry(
StockHistoryCode.CONVERTED_TO_VARIANT,
user,
notes=notes
deltas={
'part': variant.pk,
},
notes=_('Converted to part') + ': ' + variant.full_name,
)
def get_item_owner(self):