Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
10834 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
jouluk. 24
1023
4
lokak. 19
33582
1
huhtik. 17
3778
2
maalisk. 15
7161
2
tammik. 24
13742