mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Display IPN and pipe char only if IPN exists
This commit is contained in:
parent
d1df647dde
commit
dfa4d3f8ed
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user