From c71753e42a0149a100622bb77d06ba191c0768c9 Mon Sep 17 00:00:00 2001 From: "Yogesh (OpenERP)" Date: Thu, 10 Nov 2011 16:40:21 +0530 Subject: [PATCH] [FIX] vieweditor :- fix problem of assign default view in variable. bzr revid: ysa@tinyerp.com-20111110111021-7srfslh8bsqwnd56 --- addons/web/static/src/js/view_editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/web/static/src/js/view_editor.js b/addons/web/static/src/js/view_editor.js index 602d43a1db0..f901c2985dd 100644 --- a/addons/web/static/src/js/view_editor.js +++ b/addons/web/static/src/js/view_editor.js @@ -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() {