From 0e7ced70c148cb81516fbab098d89a60141bd04c Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Thu, 23 Mar 2017 11:14:42 +0100 Subject: [PATCH] [FIX] mail: reply message type - On a model, log a note and ping User A - Go in the inbox of User A, and reply to the message The reply is a comment (therefore sent to all followers of the document), not a note. opw-710326 --- addons/mail/static/src/js/client_action.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/static/src/js/client_action.js b/addons/mail/static/src/js/client_action.js index 9b379cc80a4..29331ff746e 100644 --- a/addons/mail/static/src/js/client_action.js +++ b/addons/mail/static/src/js/client_action.js @@ -572,7 +572,7 @@ var ChatAction = Widget.extend(ControlPanelMixin, { var self = this; var options = this.selected_message ? {} : {channel_id: this.channel.id}; if (this.selected_message) { - message.subtype = 'mail.mt_comment'; + message.subtype = this.selected_message.is_note ? 'mail.mt_note': 'mail.mt_comment'; message.subtype_id = false; message.message_type = 'comment'; message.content_subtype = 'html';