mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 11:05:41 +00:00
Add similar check for IPN
This commit is contained in:
@ -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