mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
PEP fix
This commit is contained in:
parent
e9c904076f
commit
f05e05664b
@ -642,7 +642,7 @@ class SupplierPart(models.Model):
|
|||||||
return cost + self.base_cost
|
return cost + self.base_cost
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
s = "{supplier} ({sku})".format(
|
s = "{supplier} ({sku})".format(
|
||||||
sku=self.SKU,
|
sku=self.SKU,
|
||||||
supplier=self.supplier.name)
|
supplier=self.supplier.name)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user