summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2018-01-31 10:57:09 +0100
committerThibault Delavallée <tde@odoo.com>2018-02-20 14:34:54 +0100
commitb6e621717e12c914d862f03f7546de08a5ad4e7c (patch)
treef1c407145f69a17f034926be982bef0b3b048ce6 /addons/web/static/src/js/views/basic/basic_controller.js
parent8a026e26c6ae25e3fdb5369a7fa3343d70fab782 (diff)
[IMP] mail: add method to notify recipients of content not related to a document
Mail API contains a message_post method allowing to post a message on a document. In some cases we would like to push notifications to recipients that are not necessarily linked to a document. For that purpose we introduce message_notify. It is a shortcut that prepares the message and speeds up the computation by pre-computing message values. This method calls message_post and therefore the whole notification process. It means no custom code for pushing inbox or email notifications is necessary.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions