Thursday, November 24, 2022
2 changes · master
Enhancements to existing features
The Unread messages filter is now shown only to users who manage notifications inside Odoo, keeping it hidden for users who receive notifications by email. This reduces confusing or irrelevant options in Helpdesk and Field Service search views and makes notification-related filters more consistent across apps.
Original PR description
The goal of this revision is to add a group `mail.group_mail_notification_type_inbox` which is granted automatically when the user `notification_type` is set to `Inbox` to be able to easily hide the filter `Unread messages` when the user uses the `Email` notification type, by simply adding `groups="mail.group_mail_notification_type_inbox"` on the filter rather than overriding `_get_view` in every model. The code overriding `_get_view` of `project.task` to hide the filter "Unread messages" replaced in this revision initially comes from odoo/odoo@da868d28e2f1268acf0ee413f04ebf3554182249 > - In project.task search View: > - the filter for unread messages should be visible only if the current user > managing his notifications in Odoo The above revision was part of the task 2844212
Adds alert box styling as part of a tutorial exercise to better understand Odoo's enterprise web styling structure. This is a minor internal improvement with limited direct business impact, focused on design framework familiarity.
Original PR description
This commit is a tutorial for mano. The purpose being to add an alert-box to familiarize with the SCSS structure of Odoo. Related to: https://github.com/odoo/odoo/pull/106399 task-3078965