[FIX] needaction: issue 592134 'Uncaught TypeError: Cannot call method 'do_reload_needaction' of undefined'
bzr revid: chm@openerp.com-20130513112202-32sko79k23v5seq2
This commit is contained in:
parent
f97d0b48e5
commit
42ad806345
|
@ -1369,8 +1369,8 @@ instance.web.View = instance.web.Widget.extend({
|
|||
}
|
||||
args.push(context);
|
||||
return dataset.call_button(action_data.name, args).then(handler).then(function () {
|
||||
if (self.ViewManager.ActionManager) {
|
||||
self.ViewManager.ActionManager.__parentedParent.menu.do_reload_needaction();
|
||||
if (instance.webclient) {
|
||||
instance.webclient.menu.do_reload_needaction();
|
||||
}
|
||||
});
|
||||
} else if (action_data.type=="action") {
|
||||
|
|
Loading…
Reference in New Issue