diff options
| author | Thibault Delavallée <tde@odoo.com> | 2018-08-10 13:43:47 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2018-08-10 13:43:47 +0200 |
| commit | 1e7eb76c30c97390a3f71d79ce6bcfef49cceabc (patch) | |
| tree | e3f9a9b98ada989c2d82fb89fb91e5edc79c6bbb /addons/mail/static/src/js/composers/basic_composer.js | |
| parent | 7499b47ffab0712e8a03655365b11450716e5717 (diff) | |
| parent | cf505c36985221819139ce30d7f03e6e51ec0298 (diff) | |
[MERGE][IMP] mail, mail_bot: improve Discuss onboarding and add your new best friend
Purpose of this merge is to improve onboarding of Discuss. This is done via
a wow effect and a bot to test the Discuss app; otherwise you have nobody to
talk to. Purpose is also to improve retention as "the best way to increase
retention is this: when the user invites someone, when this guy activates its
account, the user gets a push notification from the invited user that just
logged in; that way he will come back to Odoo and start discussing with its
colleagues.
Concerning your new best friend: it is not a dog but Odoobot.
See sub commits for more details. This merge is linked to task ID 1838588 and
closes PR #25075.
Diffstat (limited to 'addons/mail/static/src/js/composers/basic_composer.js')
| -rw-r--r-- | addons/mail/static/src/js/composers/basic_composer.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/mail/static/src/js/composers/basic_composer.js b/addons/mail/static/src/js/composers/basic_composer.js index 6d402829563..bba52c3f8b2 100644 --- a/addons/mail/static/src/js/composers/basic_composer.js +++ b/addons/mail/static/src/js/composers/basic_composer.js @@ -361,6 +361,7 @@ var BasicComposer = Widget.extend({ content: this._mentionManager.generateLinks(value), attachment_ids: _.pluck(this.get('attachment_ids'), 'id'), partner_ids: _.uniq(_.pluck(this._mentionManager.getListenerSelection('@'), 'id')), + canned_response_ids: _.uniq(_.pluck(this._mentionManager.getListenerSelections()[':'], 'id')), command: commands.length > 0 ? commands[0].name : undefined, }); }, |
