2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-09-17 16:11:37 +00:00
This commit is contained in:
Oliver Walters
2019-07-25 10:36:59 +10:00
parent 3058b895dd
commit 42e1370e92
2 changed files with 3 additions and 3 deletions

View File

@@ -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