[FIX] account_chorus_notify: bugfix on message_post

This commit is contained in:
clementthomas
2023-12-06 08:29:43 +01:00
parent c33cd1749c
commit 5c1d8b71e1

View File

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