I want to hide the enable desktop notification link from Odoo . Anybody can help me?
This question has been flagged
1
Odpovědět
6936
Zobrazení
it will just disappear after you clic on it, but it will appear to every user that has not clic on it
You could add this qweb client extension for hide that from rendering
<?xml version="1.0" encoding="UTF-8"?>
<templates xml:space="preserve">
<t t-name="mail.client_action">
<div class="o_mail_chat">
<div class="o_mail_chat_sidebar"/>
<div class="o_mail_chat_content">
<t t-if="widget.notification_bar">
<div class="o_mail_annoying_notification_bar" style="display:none;">
<span class="o_mail_request_permission">Odoo needs your permission to <a href="#"> enable desktop notifications</a>.</span>
<span class="fa fa-close"></span>
</div>
</t>
</div>
</div>
</t>
</templates>
Add that as a file on your __openerp__.py qweb part
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit se| Related Posts | Odpovědi | Zobrazení | Aktivita | |
|---|---|---|---|---|
|
|
1
čvn 18
|
10706 | ||
|
|
5
čvc 25
|
6885 | ||
|
How to disable email notification
Vyřešeno
|
|
3
úno 25
|
11780 | |
|
|
6
dub 26
|
10362 | ||
|
|
1
lis 24
|
23555 |