Skip to Content
Menu
This question has been flagged

We're using Project module, which installs the discuss module, but we use mattermost instead of built-in Odoo applications. I've removed the 'Discuss' menu item, but I can't find how to remove the two icons just at the left of were the user name is shown (inbox and conversations).

In the html code source, it uses a class named systray or something and javascript refers to template mail.chat.MessagingMenu.

Any idea?


Avatar
Discard
Best Answer

Bad hack to do this,but

1. Open \server\odoo\addons\mail\static\src\xml\systray.xml

2. Comment out the following:

<!--li class="o_mail_navbar_item">            
    <a href="#" title="Inbox">
    <i class="fa fa-at"/> <span class="o_notification_counter"/>
    </a>
</li-->


and


<!--li class="o_mail_navbar_item">
 <a class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false" title="Conversations" href="#">
     <i class="fa fa-comments"/> <span class="o_notification_counter"/>
</a>
 <ul class="o_mail_navbar_dropdown dropdown-menu" role="menu">
    <li class="o_mail_navbar_dropdown_top">
        <div>
            <button type="button" class="btn btn-sm o_filter_button o_selected"> All </button>
            <button type="button" class="btn btn-sm o_filter_button" data-filter='chat'> Chat </button>
            <button type="button" class="btn btn-sm o_filter_button" data-filter='channels'> Channels </button>
        </div>
    <button type="button" class="btn btn-sm o_new_message"> New message </button>
    </li>
    <li class="o_mail_navbar_dropdown_channels"/>
 </ul>
</li-->
Avatar
Discard
Related Posts Replies Views Activity
0
Dec 24
40
4
Oct 19
31653
1
Apr 17
2876
2
Mar 15
6014
2
Jan 24
12528