在odoo中登录时默认情况下打开Toggle App Drawer

时间:2019-05-24 21:07:01

标签: twitter-bootstrap odoo-11 webresponse

我现在在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}
                )
            )

当我们按下左上方的切换按钮时,默认屏幕应该是应用程序的显示

0 个答案:

没有答案