我现在在odoo 11中使用Web响应主题,我想要的是登录时将App Drawer屏幕作为默认屏幕。
我尝试更改web响应.js中的一些代码
showFoundMenus: function(menus) {
this.searching = true;
this.$el.find('#appDrawerApps').hide();
this.$searchAction.hide();
this.$el.find('.drawer-search-close').show();
this.$el.find('.drawer-search-open').hide();
this.$searchResultsContainer
// Render the results
.html(
core.qweb.render(
'AppDrawerMenuSearchResults',
{menus: menus}
)
)
当我们按下左上方的切换按钮时,默认屏幕应该是应用程序的显示