[fix] problem in chart of account wizard

lp bug: https://launchpad.net/bugs/944109 fixed

bzr revid: nicolas.vanhoren@openerp.com-20120425101150-96ry93s16sbgdn3w
This commit is contained in:
niv-openerp
2012-04-25 12:11:50 +02:00
parent 295db6bb7f
commit 16aeaacf84
+2 -2
View File
@@ -140,13 +140,13 @@ instance.web.ActionManager = instance.web.Widget.extend({
this.dialog_viewmanager.appendTo(this.dialog.$element);
this.dialog.open();
} else {
this.dialog_stop();
this.content_stop();
if(action.menu_id) {
return this.getParent().do_action(action, function () {
instance.webclient.menu.open_menu(action.menu_id);
});
}
this.dialog_stop();
this.content_stop();
this.inner_action = action;
this.inner_viewmanager = new instance.web.ViewManagerAction(this, action);
this.inner_viewmanager.appendTo(this.$element);