From c0743257c65115f8e2b7f50808034a616497634e Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Mon, 26 Aug 2019 16:09:19 +0200 Subject: [PATCH] [FIX] account_payment_order/account_banking_sepa_direct_debit: Call message_post with kwargs If not, several overrides of the method with the signature (self, **kwargs) will fail. --- account_banking_sepa_direct_debit/__manifest__.py | 2 +- .../models/account_payment_order.py | 2 +- account_payment_order/__manifest__.py | 2 +- account_payment_order/models/account_invoice.py | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/account_banking_sepa_direct_debit/__manifest__.py b/account_banking_sepa_direct_debit/__manifest__.py index 29d972180..792ec3b9d 100644 --- a/account_banking_sepa_direct_debit/__manifest__.py +++ b/account_banking_sepa_direct_debit/__manifest__.py @@ -7,7 +7,7 @@ { 'name': 'Account Banking SEPA Direct Debit', 'summary': 'Create SEPA files for Direct Debit', - 'version': '11.0.1.0.2', + 'version': '11.0.1.0.3', 'license': 'AGPL-3', 'author': "Akretion, " "Tecnativa, " diff --git a/account_banking_sepa_direct_debit/models/account_payment_order.py b/account_banking_sepa_direct_debit/models/account_payment_order.py index 58b142302..77ab322a8 100644 --- a/account_banking_sepa_direct_debit/models/account_payment_order.py +++ b/account_banking_sepa_direct_debit/models/account_payment_order.py @@ -265,7 +265,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 First to " "Recurring when the debit order " "