Parcourir la source

Correction of amout before tax description (not "Montant HT")

dam il y a 8 ans
Parent
commit
404299c536
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      coin/billing/models.py

+ 1 - 1
coin/billing/models.py

@@ -161,7 +161,7 @@ class Invoice(models.Model):
         for detail in self.details.all():
             total += detail.amount
         return total.quantize(Decimal('0.01'))
-    amount.short_description = 'Montant HT'
+    amount_before_tax.short_description = 'Montant HT'
 
     def amount_paid(self):
         """