[IMP] web_notify: migration improvements

- Use ES6 in js files
- Update screenshots
- Clean old lint exceptions
- New icon

TT38350
This commit is contained in:
David
2023-01-05 16:26:33 +01:00
parent dd92d61f30
commit 23269fcbd6
15 changed files with 85 additions and 87 deletions

View File

@@ -1,8 +1,5 @@
# pylint: disable=missing-docstring
# Copyright 2016 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import _, api, exceptions, fields, models
from odoo.addons.bus.models.bus import channel_with_db, json_dump
@@ -82,7 +79,6 @@ class ResUsers(models.Model):
sticky=False,
target=None,
):
# pylint: disable=protected-access
if not self.env.user._is_admin() and any(
user.id != self.env.uid for user in self
):