From e1726fa1ee3b7d1e43ad22e45afa8fcbec30dead Mon Sep 17 00:00:00 2001 From: Fabien Meghazi Date: Tue, 5 Feb 2013 18:05:56 +0100 Subject: [PATCH] [FIX] FormView#do_load_state() do not call @do_show() properly bzr revid: fme@openerp.com-20130205170556-w9xxre6lmqny33xc --- addons/web/static/src/js/view_form.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 8ff70e1010b..ce5f5c2841a 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -251,9 +251,7 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM this.dataset.ids.push(state.id); } this.dataset.select_id(state.id); - if (warm) { - this.do_show(); - } + this.do_show({ reload: warm }); } }, /**