[FIX] mail: correctly propagate message_post parameters to redirection
Propagation was not correctly done at 8a026e26c6 . This commit
ensures all parameters are passed to sub-calls when redirection is done
in message_post.
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user