[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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user