[IMP] do_action really switch to first view in sequence

bzr revid: fme@openerp.com-20110331123519-uk4pkd5azix545ji
This commit is contained in:
Fabien Meghazi 2011-03-31 14:35:19 +02:00
parent 4722165efb
commit 911af887b9
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ openerp.base.ViewManager = openerp.base.Controller.extend({
}
}
// switch to the first one in sequence
this.on_mode_switch("tree");
this.on_mode_switch(action.views[0][1]);
},
// create when root, also add to parent when o2m
on_create: function() {