2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 05:25:42 +00:00

Some small tweaks

This commit is contained in:
Oliver Walters
2019-04-28 11:46:53 +10:00
parent e5e6480099
commit ba49b080b0
2 changed files with 9 additions and 1 deletions

View File

@ -533,7 +533,7 @@ class SupplierPart(models.Model):
return cost + self.base_cost
def __str__(self):
return "{sku} - {supplier}".format(
return "{supplier} ({sku})".format(
sku=self.SKU,
supplier=self.supplier.name)