summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2018-02-26 10:25:22 +0100
committerThibault Delavallée <tde@odoo.com>2018-02-26 12:15:01 +0100
commit1b5b2b9dd08fb067b6a65e1bb8d5d21e3d8ea6b5 (patch)
tree0d0fc5f047c84337d4ead723069fd7d01c3b6b64 /addons
parentf6dd602530794a72d3a14bd8474d69844beef1bf (diff)
[FIX] mail: correctly propagate message_post parameters to redirection
Propagation was not correctly done at 8a026e26c6ae25e3fdb5369a7fa3343d70fab782 . This commit ensures all parameters are passed to sub-calls when redirection is done in message_post.
Diffstat (limited to 'addons')
-rw-r--r--addons/mail/models/mail_thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/models/mail_thread.py b/addons/mail/models/mail_thread.py
index a7dd7c66232..c3a0034ad51 100644
--- a/addons/mail/models/mail_thread.py
+++ b/addons/mail/models/mail_thread.py
@@ -1817,7 +1817,7 @@ class MailThread(models.AbstractModel):
return RecordModel.browse(self.ids).message_post(
body=body, subject=subject, message_type=message_type,
subtype=subtype, parent_id=parent_id, attachments=attachments,
- content_subtype=content_subtype, notif_layout=notif_layout, **kwargs)
+ content_subtype=content_subtype, notif_layout=notif_layout, notif_values=notif_values, **kwargs)
# 0: Find the message's author, because we need it for private discussion
author_id = kwargs.get('author_id')