Merge pull request #1525 from matmair/matmair/issue1524

[BUG] no attribute MPN
This commit is contained in:
Oliver 2021-04-28 07:52:17 +10:00 committed by GitHub
commit 2e5be35517
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}'