[FIX] Action counter: renamed filter automatically added when clicking on the counter, from needaction_pending to message_unread.
bzr revid: tde@openerp.com-20121015102135-hnnd57fi187m0j0a
This commit is contained in:
@@ -1116,7 +1116,7 @@ instance.web.WebClient = instance.web.Client.extend({
|
||||
.pipe(function (result) {
|
||||
var action = result;
|
||||
if (options.needaction) {
|
||||
action.context.search_default_needaction_pending = true;
|
||||
action.context.search_default_message_unread = true;
|
||||
}
|
||||
return $.when(self.action_manager.do_action(action, null, true)).fail(function() {
|
||||
self.menu.open_menu(options.previous_menu_id);
|
||||
|
||||
Reference in New Issue
Block a user