diff --git a/addons/account/models/account_payment_term.py b/addons/account/models/account_payment_term.py index 1ccab7ce077..c6f25724890 100644 --- a/addons/account/models/account_payment_term.py +++ b/addons/account/models/account_payment_term.py @@ -60,6 +60,7 @@ class AccountPaymentTerm(models.Model): else: discount_amount_currency = self.currency_id.round(total_amount - (total_amount * (1 - (percentage)))) return total_amount - discount_amount_currency + return total_amount @api.depends('company_id') def _compute_discount_computation(self):