diff options
| author | fja-odoo <fja@odoo.com> | 2019-05-08 12:05:39 +0000 |
|---|---|---|
| committer | fja-odoo <fja@odoo.com> | 2019-05-14 13:34:57 +0000 |
| commit | 46954178a9f8de60eadd80393cb77f26ab4363a0 (patch) | |
| tree | 983aa3b6033445b885333c55f9145840b28a2f70 /addons/web/static/src/js/widgets/notification.js | |
| parent | 591f8d101739285c1e38491818ed68ecc72872df (diff) | |
[FIX] web: restore notifications about disconnections
The disconnected/connected notifications were broken due to changes in
the way the Notification template was loaded. We need it loaded in
assets as we cannot load it afterward if the server is disconnected.
This was broken by : https://github.com/odoo/odoo/pull/32793
closes odoo/odoo#33252
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/widgets/notification.js')
| -rw-r--r-- | addons/web/static/src/js/widgets/notification.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/web/static/src/js/widgets/notification.js b/addons/web/static/src/js/widgets/notification.js index 31caf5b3e91..04d42abd7af 100644 --- a/addons/web/static/src/js/widgets/notification.js +++ b/addons/web/static/src/js/widgets/notification.js @@ -13,7 +13,6 @@ var Widget = require('web.Widget'); */ var Notification = Widget.extend({ template: 'Notification', - xmlDependencies: ['/web/static/src/xml/notification.xml'], events: { 'hidden.bs.toast': '_onClose', 'click .o_notification_buttons button': '_onClickButton' |
