Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
10832 Widoki

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?


Awatar
Odrzuć
Najlepsza odpowiedź

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-->
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
gru 24
1018
4
paź 19
33582
1
kwi 17
3778
2
mar 15
7159
2
sty 24
13742