lp bug: https://launchpad.net/bugs/908719 fixed
bzr revid: vda@tinyerp.com-
20120105081916-dhlaaro01zc0995x
// after saving, go to page view (don't come back in list)"
if (created && current_view === 'form' && previous_view === 'list') {
return this.on_mode_switch('page');
+ } else if(created && this.action && this.action.flags.default_view == 'form') {
+ //Special case: dashboad creatable attrs,
+ // no previous view for creatable action.
+ return this.on_mode_switch('page');
}
return this.on_mode_switch(previous_view, true);
},