[FIX] vieweditor :- fix problem of assign default view in variable.

bzr revid: ysa@tinyerp.com-20111110111021-7srfslh8bsqwnd56
This commit is contained in:
Yogesh (OpenERP) 2011-11-10 16:40:21 +05:30
parent 014fc45592
commit c71753e42a
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ openerp.web.ViewEditor = openerp.web.Widget.extend({
}
},
}).start().open();
this.main_view_id = this.parent.fields_view.view_id;
var action_manager = new openerp.web.ActionManager(this);
action_manager.appendTo(this.view_edit_dialog);
$.when(action_manager.do_action(action)).then(function() {