[BUG] no attribute MPN

Fixes #1524
This commit is contained in:
Matthias 2021-04-27 21:38:06 +02:00
parent 90d12a7406
commit fc429708f1

View File

@ -675,4 +675,4 @@ class SupplierPriceBreak(common.models.PriceBreak):
db_table = 'part_supplierpricebreak'
def __str__(self):
return f'{self.part.MPN} - {self.price} @ {self.quantity}'
return f'{self.part.SKU} - {self.price} @ {self.quantity}'