From 7ae118a20b4f36be563741599ec4aef90cfb74cb Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Tue, 26 Nov 2019 11:47:15 +0000 Subject: [PATCH] [FIX] mail: reply to note - Handle the notifications in Odoo - On any object, e.g. a SO, user A a note and ping user B - As user B, go to Discuss and reply to the note The reply is sent a regular message. Actually, everything is available to reply with the right message type in: https://github.com/odoo/odoo/blob/bae8ab7d93143e082e1d1a9cbe20a350c2d34d07/addons/mail/static/src/js/discuss.js#L1327 It is simply unset. opw-2088619 closes odoo/odoo#40946 X-original-commit: 84c8221c60e3483aa637abad057253424236af83 Signed-off-by: Nicolas Martinelli (nim) --- addons/mail/static/src/js/models/messages/message.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/mail/static/src/js/models/messages/message.js b/addons/mail/static/src/js/models/messages/message.js index ddc6230c77c..acc70062696 100644 --- a/addons/mail/static/src/js/models/messages/message.js +++ b/addons/mail/static/src/js/models/messages/message.js @@ -759,6 +759,7 @@ var Message = AbstractMessage.extend(Mixins.EventDispatcherMixin, ServicesMixin this._documentID = data.res_id; this._emailFrom = data.email_from; this._info = data.info; + this._isNote = data.is_note; this._moduleIcon = data.module_icon; this._needactionPartnerIDs = data.needaction_partner_ids || []; this._starredPartnerIDs = data.starred_partner_ids || [];