diff --git a/invoice.py b/invoice.py index 20b4c5dbdb..af7f861e0e 100644 --- a/invoice.py +++ b/invoice.py @@ -2042,7 +2042,7 @@ class InvoiceLine(sequence_ordered(), ModelSQL, ModelView, TaxableMixin): subtotal = Decimal(0) for line2 in self.invoice.lines: if line2.type == 'line': - subtotal += line2.amount + subtotal += line2.on_change_with_amount() elif line2.type == 'subtotal': if self == line2: break