[FIX] mail: fixed a change introduced at revision 3911 that introduced a dependance between a revision in web and in addons: now addons revision is independant of the web revision.
bzr revid: tde@openerp.com-20130430100747-9fcrbdbso1v0prgg
This commit is contained in:
parent
6970e5e041
commit
5ab5c4b730
|
@ -1709,8 +1709,12 @@ openerp.mail = function (session) {
|
|||
* contain the menu widget and the the sub menu related of this wall
|
||||
*/
|
||||
do_reload_menu_emails: function () {
|
||||
var ActionManager = this.__parentedParent.ActionManager || this.__parentedParent.__parentedParent.ViewManager.ActionManager;
|
||||
ActionManager.__parentedParent.menu.do_reload_needaction();
|
||||
var menu = this.getParent().getParent().__parentedParent.menu || this.getParent().getParent().getParent().getParent().__parentedParent.menu;
|
||||
return menu.rpc("/web/menu/load_needaction", {'menu_ids': [menu.current_menu]}).done(function(r) {
|
||||
menu.on_needaction_loaded(r);
|
||||
}).then(function () {
|
||||
menu.trigger("need_action_reloaded");
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue