From 969e02cf3a6f2f53fa61124271b9324bcc50c43c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 4 Sep 2015 12:09:23 +0200 Subject: [PATCH] Remove trailing space introduced in changeset 90d4db8f1491 --- invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invoice.py b/invoice.py index 4917c325ad..5ba7a4aca6 100644 --- a/invoice.py +++ b/invoice.py @@ -2391,7 +2391,7 @@ class PayInvoiceAsk(ModelView): for line in self.lines: self.amount_writeoff += line.debit - line.credit for line in self.payment_lines: - self.amount_writeoff += line.debit - line.credit + self.amount_writeoff += line.debit - line.credit if self.invoice.type in ('in_invoice', 'out_credit_note'): self.amount_writeoff = - self.amount_writeoff - amount else: