This commit is contained in:
Toralf Neby Berge committed 2017-05-03 22:15:00 +02:00
1 parent 505b9d73d5
commit f0e6331630
1 file changed
+1 -1
+1 -1
View File
@@ -113,7 +113,7 @@ class InventoryTransaction(models.Model):
return self.amount * self.unit_price
def __str__(self):
return "{}: {}: {}. {} stykker ({} kr per)".format(
return "{}: {}: {}. {:.0f} stykker ({} kr per)".format(
self.id,
self.user,
self.product,