mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 11:35:41 +00:00
Add similar check for IPN
This commit is contained in:
@ -800,7 +800,7 @@ class Part(MPTTModel):
|
|||||||
super().clean()
|
super().clean()
|
||||||
|
|
||||||
# Strip IPN field
|
# Strip IPN field
|
||||||
if self.IPN:
|
if type(self.IPN) is str:
|
||||||
self.IPN = self.IPN.strip()
|
self.IPN = self.IPN.strip()
|
||||||
|
|
||||||
if self.trackable:
|
if self.trackable:
|
||||||
|
Reference in New Issue
Block a user