diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-11-26 11:47:15 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-11-27 08:44:56 +0000 |
| commit | 7ae118a20b4f36be563741599ec4aef90cfb74cb (patch) | |
| tree | 9acfbdebc6a878910722fc100de36048fae2121e /addons | |
| parent | 5ff3bec51b69cc5ff94e46282beea0cb0d156520 (diff) | |
[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) <nim@odoo.com>
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/mail/static/src/js/models/messages/message.js | 1 |
1 files changed, 1 insertions, 0 deletions
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 || []; |
