[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
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user