If user has blocked odoo push notifications then there's no way to enable via the OdooBot notification in the systray as it depends on the navigator so display the alert message under users preference section. Related Task ID: 1929547 closes odoo/odoo#30496
18 lines
892 B
XML
18 lines
892 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
<template id="assets_backend" name="mailbot assets" inherit_id="web.assets_backend">
|
|
<xpath expr="." position="inside">
|
|
<script type="text/javascript" src="/mail_bot/static/src/js/mailbot_service.js"></script>
|
|
<script type="text/javascript" src="/mail_bot/static/src/js/notification_alert.js"></script>
|
|
<script type="text/javascript" src="/mail_bot/static/src/js/systray_messaging_menu.js"></script>
|
|
</xpath>
|
|
</template>
|
|
<template id="qunit_suite" name="mail_tests" inherit_id="web.qunit_suite">
|
|
<xpath expr="//t[@t-set='head']" position="inside">
|
|
<script type="text/javascript" src="/mail_bot/static/tests/systray_messaging_menu_tests.js"></script>
|
|
</xpath>
|
|
</template>
|
|
</data>
|
|
</odoo>
|