I want to hide the enable desktop notification link from Odoo . Anybody can help me?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
1
Répondre
5315
Vues
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
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
juin 18
|
8246 | ||
|
5
juil. 25
|
2307 | ||
|
3
févr. 25
|
9252 | ||
|
6
nov. 24
|
7440 | ||
|
1
nov. 24
|
19968 |