diff --git a/invoice.py b/invoice.py index b88ac8ed68..f96e47c90d 100644 --- a/invoice.py +++ b/invoice.py @@ -993,7 +993,7 @@ class Invoice(Workflow, ModelSQL, ModelView, TaxableMixin): else: term_lines = [(self.payment_term_date or today, total)] if self.currency != self.company.currency: - remainder_total_currency = -self.total_amount + remainder_total_currency = self.total_amount.copy_sign(total) else: remainder_total_currency = 0 for date, amount in term_lines: