From 5c1d8b71e1f654ecf76c30198213b22c7519f7d3 Mon Sep 17 00:00:00 2001 From: clementthomas Date: Wed, 6 Dec 2023 08:29:43 +0100 Subject: [PATCH] [FIX] account_chorus_notify: bugfix on message_post --- account_chorus_notify/models/chorus_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_chorus_notify/models/chorus_flow.py b/account_chorus_notify/models/chorus_flow.py index 4554f7d..fc7f96e 100644 --- a/account_chorus_notify/models/chorus_flow.py +++ b/account_chorus_notify/models/chorus_flow.py @@ -11,5 +11,5 @@ class ChorusFlow(models.Model): for flow in self: if flow.status == 'IN_REJETE': for invoice in flow.invoice_ids: - invoice.message_post(_("Chorus flow n°%s rejected.")%(flow.name,)) + invoice.message_post(body=_("Chorus flow n°%s rejected.")%(flow.name,)) return res \ No newline at end of file