[8.0][BUG][account_banking_payment_transfer]

_create_move_line_partner_account raise Usererror
2 variables, only 1 used
This commit is contained in:
Rod Schouteden
2016-04-18 10:09:24 +02:00
parent c15107ff4d
commit fe64a545d1

View File

@@ -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']