From fe64a545d1b70804314e756c37257cd186c7def8 Mon Sep 17 00:00:00 2001 From: Rod Schouteden Date: Mon, 18 Apr 2016 10:09:24 +0200 Subject: [PATCH] [8.0][BUG][account_banking_payment_transfer] _create_move_line_partner_account raise Usererror 2 variables, only 1 used --- account_banking_payment_transfer/model/account_payment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_banking_payment_transfer/model/account_payment.py b/account_banking_payment_transfer/model/account_payment.py index 8c335da76..b34f70ad6 100644 --- a/account_banking_payment_transfer/model/account_payment.py +++ b/account_banking_payment_transfer/model/account_payment.py @@ -185,7 +185,7 @@ class PaymentOrder(models.Model): raise UserError(_( "Cannot generate the transfer move when " "the currency of the payment (%s) is not the " - "same as the currency of the company. This " + "same as the currency of the company (%s). This " "is not supported for the moment.") % (bank_line.currency.name, company_currency.name)) aml_obj = self.env['account.move.line']