[IMP] do_action really switch to first view in sequence
bzr revid: fme@openerp.com-20110331123519-uk4pkd5azix545ji
This commit is contained in:
parent
4722165efb
commit
911af887b9
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue