mirror of
https://github.com/inventree/InvenTree.git
synced 2026-04-08 12:31:06 +00:00
PEP fxies
This commit is contained in:
@@ -728,7 +728,7 @@ class StockItem(MPTTModel):
|
||||
if not variant:
|
||||
# Ignore null values
|
||||
return
|
||||
|
||||
|
||||
if variant == self.part:
|
||||
# Variant is the same as the current part
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user