2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-05-23 09:35:30 +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
+4 -1
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):