[MERGE] Action counter: fixed the name of the filter automatically added when clicking on the counter. The filter name is statically defined as message_unread, and all modules using the need action mechanism should define this filter.
bzr revid: tde@openerp.com-20121016075230-r6zka92d3ty2t9ac
This commit is contained in:
commit
015c07bc6f
|
@ -1119,7 +1119,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);
|
||||
|
|
Loading…
Reference in New Issue