[IMP] Reload menu after installation wizardsi

Hardcoded check for action.context.active_model === 'base.module.upgrade' in ir_actions_act_window_close.
If you have a better solution, do not hesitate to propose it

bzr revid: fme@openerp.com-20111012110928-kcjstqt28sh7nhky
This commit is contained in:
Fabien Meghazi
2011-10-12 13:09:28 +02:00
parent 8ae0890382
commit 5d7cf9c8f8
+3
View File
@@ -121,6 +121,9 @@ db.web.ActionManager = db.web.Widget.extend({
if (!this.dialog && on_closed) {
on_closed();
}
if (this.dialog && action.context && action.context.active_model === 'base.module.upgrade') {
db.webclient.menu.reload();
}
this.dialog_stop();
},
ir_actions_server: function (action, on_closed) {