mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-10 19:08:01 +00:00
Add similar check for IPN
This commit is contained in:
1 parent
292d28d378
commit
5fde9f552c
1 file changed
+1
-1
@@ -800,7 +800,7 @@ class Part(MPTTModel):
|
||||
super().clean()
|
||||
|
||||
# Strip IPN field
|
||||
if self.IPN:
|
||||
if type(self.IPN) is str:
|
||||
self.IPN = self.IPN.strip()
|
||||
|
||||
if self.trackable:
|
||||
|
||||
Reference in new issue
Block a user