mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-09 07:00:56 +00:00
Bug fix
This commit is contained in:
@ -322,7 +322,7 @@ class StockItem(models.Model):
|
||||
- Is installed inside another StockItem
|
||||
"""
|
||||
|
||||
if part.trackable and self.serial is not None:
|
||||
if self.part.trackable and self.serial is not None:
|
||||
return False
|
||||
|
||||
return True
|
||||
|
Reference in New Issue
Block a user