Alexandre Kühn
f65699dbd1
[FIX] mail: OdooBot has a request notif should not be muted
...
Before this commit, the "OdooBot has a request" notification in the
Messaging Menu -- which suggest to enable push notifications -- had
a muted style, which looks as if the item is unimportant and was
read by the current user.
This is an important notification, at an equivalent level of
importance than needaction notifications. This was already
highlighted by this item contributing to the global Messaging Menu
counter.
This commit fixes the issue by not muting this notification. To do
so, it enhances prop `muted` on `NotificationItem` component:
- 0 (default): the notif is unmuted
- 1: the notif is slightly muted
- 2: the notif is hard-muted
0/1 are equivalent to the different muted style of notification in
16.4, while `muted: 2` shows a hard-muted notification when the user
choose to manually mute a channel, as to not receive any notification
from it.
Some logic related to "mark as read"/"counter" logic has been moved
to this muted prop concern, as not all notification that have mark
as read or a counter necessarily must be muted, e.g. with "OdooBot
has a request".
Task-3566799
closes odoo/odoo#140380
X-original-commit: c60fdbb25b38899ceeb89e76abc35c3474ce1f5b
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com >
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com >
2023-10-31 14:40:56 +00:00
..
2023-10-30 16:41:45 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-30 09:00:56 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-30 09:00:56 +00:00
2023-10-31 13:26:38 +00:00
2023-10-30 09:00:56 +00:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-30 09:00:56 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-30 16:41:49 +00:00
2023-10-29 00:07:17 +02:00
2023-10-30 16:41:49 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-30 06:35:06 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-30 09:00:56 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-26 13:41:03 +00:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-31 10:33:54 +00:00
2023-10-29 00:07:17 +02:00
2023-10-24 13:55:23 +00:00
2023-10-25 19:37:35 +00:00
2023-10-26 12:10:11 +00:00
2023-10-26 08:45:57 +00:00
2023-10-20 19:12:40 +00:00
2023-10-27 14:21:59 +00:00
2023-10-27 14:21:59 +00:00
2023-10-23 16:45:09 +00:00
2023-10-23 20:07:19 +00:00
2023-10-16 13:11:10 +00:00
2023-10-18 15:26:31 +00:00
2023-10-16 09:21:11 +00:00
2023-10-23 20:07:34 +00:00
2023-10-23 20:07:34 +00:00
2023-10-23 20:07:34 +00:00
2023-10-23 20:07:34 +00:00
2023-10-24 13:55:23 +00:00
2023-10-23 16:45:09 +00:00
2023-10-30 09:00:56 +00:00
2023-10-20 19:12:44 +00:00
2023-10-25 18:11:10 +00:00
2023-10-20 19:12:44 +00:00
2023-10-25 18:11:01 +00:00
2023-10-20 19:12:40 +00:00
2023-10-23 16:45:09 +00:00
2023-10-25 11:37:23 +00:00
2023-10-24 12:38:09 +00:00
2023-10-23 16:45:09 +00:00
2023-10-18 15:26:31 +00:00
2023-10-25 20:56:15 +00:00
2023-10-23 16:45:09 +00:00
2023-10-23 16:45:09 +00:00
2023-10-30 12:05:23 +00:00
2023-10-26 07:22:56 +00:00
2023-10-20 23:37:38 +00:00
2023-10-28 15:25:43 +00:00
2023-10-20 23:37:38 +00:00
2023-10-25 18:10:54 +00:00
2023-10-30 09:00:56 +00:00
2023-10-23 16:45:09 +00:00
2023-10-24 12:38:15 +00:00
2023-10-20 19:12:47 +00:00
2023-10-21 02:22:48 +00:00
2023-10-30 16:41:37 +00:00
2023-10-24 13:55:23 +00:00
2023-10-23 16:45:09 +00:00
2023-10-19 19:08:15 +00:00
2023-10-23 16:45:09 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-31 14:40:56 +00:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-31 10:34:00 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-31 13:26:42 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-30 15:18:04 +00:00
2023-10-30 12:05:28 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-31 10:33:58 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-30 17:48:46 +00:00
2023-10-29 00:07:17 +02:00
2023-10-30 17:48:47 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-30 12:05:23 +00:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-30 16:41:42 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-31 14:40:53 +00:00
2023-10-27 14:22:08 +00:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-30 09:00:56 +00:00
2023-10-29 00:07:17 +02:00
2023-10-31 08:24:42 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-30 15:18:00 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-30 21:50:47 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-30 09:00:56 +00:00
2023-10-29 00:07:17 +02:00
2023-10-30 17:48:45 +00:00
2023-10-29 00:07:17 +02:00
2023-10-30 12:05:25 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-30 12:05:25 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-31 07:11:45 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-27 08:36:16 +00:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-31 10:33:57 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-31 08:24:42 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-30 12:05:28 +00:00
2023-10-29 00:07:17 +02:00
2023-10-30 09:00:56 +00:00
2023-10-27 23:44:52 +00:00
2023-10-25 11:37:17 +00:00
2023-10-31 13:26:38 +00:00
2023-10-18 13:39:06 +00:00
2023-10-30 07:37:12 +00:00
2023-10-26 13:41:16 +00:00
2023-10-24 19:24:50 +00:00
2023-10-24 19:24:50 +00:00
2023-10-24 12:38:09 +00:00
2023-10-27 21:36:46 +00:00
2023-10-30 17:48:42 +00:00
2023-10-14 03:27:03 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-31 13:26:41 +00:00
2023-10-31 06:02:43 +00:00
2023-10-29 17:29:11 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-31 13:26:39 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-31 13:26:38 +00:00
2023-10-31 13:26:38 +00:00
2023-10-31 13:26:38 +00:00
2023-10-31 13:26:38 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-31 13:26:38 +00:00
2023-10-29 00:07:17 +02:00
2023-10-31 13:26:38 +00:00
2023-10-31 13:26:38 +00:00
2023-10-31 13:26:38 +00:00
2023-10-31 13:26:38 +00:00
2023-10-31 13:26:38 +00:00
2023-10-27 08:36:16 +00:00
2023-10-31 13:26:38 +00:00
2023-10-29 00:07:17 +02:00
2023-10-30 12:05:31 +00:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-31 10:33:56 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-27 08:36:16 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00
2023-10-30 16:41:52 +00:00
2023-10-29 00:07:17 +02:00
2023-10-29 00:07:17 +02:00