diff --git a/InvenTree/stock/models.py b/InvenTree/stock/models.py index 1e11525703..6c74329709 100644 --- a/InvenTree/stock/models.py +++ b/InvenTree/stock/models.py @@ -487,6 +487,7 @@ class StockItem(MPTTModel): new_item.quantity = 1 new_item.serial = serial new_item.pk = None + new_item.parent = self if location: new_item.location = location