Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
10826 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
0
déc. 24
1018
4
oct. 19
33577
1
avr. 17
3777
2
mars 15
7159
2
janv. 24
13741