Merge pull request #571 from Tecnativa/12.0-account_banking_sepa_direct_debit-fix-message-post

[12.0][FIX] account_banking_sepa_direct_debit: Fix positional arguments in message_post
This commit is contained in:
Pedro M. Baeza
2019-03-23 00:11:55 +01:00
committed by GitHub

View File

@@ -249,7 +249,7 @@ class AccountPaymentOrder(models.Model):
'recurrent_sequence_type': 'recurring',
})
for first_mandate in first_mandates:
first_mandate.message_post(_(
first_mandate.message_post(body=_(
"Automatically switched from <b>First</b> to "
"<b>Recurring</b> when the debit order "
"<a href=# data-oe-model=account.payment.order "