summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/web_client.js
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2015-08-04 15:02:35 +0200
committerThibault Delavallée <tde@openerp.com>2015-08-21 12:11:56 +0200
commit88b8cd058713bfad2942f7e7434c34b6c1a6e7da (patch)
tree265918316a803d279883bc94c5c47e69045c66b1 /addons/web/static/src/js/web_client.js
parentc02982b4c46c107008d3bedc73e45248d8067b90 (diff)
[REF] mail: model update for NewChatter
Main changes : - mail.notification model is removed. People do not receive notifications anymore. Instead two ways of following documents exist - using a channel; messages will be displayed on the channel itself in a near future commit - following with its partner; messages will all be considered as needaction, using a new m2m table. People should receive less needaction messages by following less records by themselves. There is no more read / unread state anymore. Instead only needaction messages are considered. Todo (Favorites) messages still exist, and are stores on a new m2m table instead of using decorated notifciations. - the main filter for documents is not message_unread anymore, but message_needaction. A lot of views and filters have been updated accordingly. - the vote feature has been removed
Diffstat (limited to 'addons/web/static/src/js/web_client.js')
-rw-r--r--addons/web/static/src/js/web_client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/web_client.js b/addons/web/static/src/js/web_client.js
index 37d6c10feba..6dec26b1d3d 100644
--- a/addons/web/static/src/js/web_client.js
+++ b/addons/web/static/src/js/web_client.js
@@ -315,7 +315,7 @@ var WebClient = Widget.extend({
return self.action_mutex.exec(function() {
if (options.needaction) {
result.context = new data.CompoundContext(result.context, {
- search_default_message_unread: true,
+ search_default_message_needaction: true,
search_disable_custom_filters: true,
});
}