mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-04 17:35:21 +00:00
Display IPN and pipe char only if IPN exists
This commit is contained in:
1 parent
d1df647dde
commit
dfa4d3f8ed
1 file changed
+2
-1
@@ -427,8 +427,9 @@ class SupplierPart(models.Model):
|
||||
|
||||
if self.part.IPN:
|
||||
s += f'{self.part.IPN}'
|
||||
s += ' | '
|
||||
|
||||
s += f' | {self.supplier.name} | {self.SKU}'
|
||||
s += f'{self.supplier.name} | {self.SKU}'
|
||||
|
||||
if self.manufacturer_string:
|
||||
s = s + ' | ' + self.manufacturer_string
|
||||
|
||||
Reference in new issue
Block a user