f65699dbd1f87ce2134a24b23e3cefdd331b69f0
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>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%