Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 12730 |
Technical Name |
bubble_notification |
License | AGPL-3 |
Versions | 14.0 15.0 |
Bubble Notification
Manage Your Users' Notifications
Explore this module
Overview
With pushing notifications, you can build real-time, in-the-moment connections with your collegues.
Each user can receive notifications on different topics. You can push a notification to a specific user according to a certain process. You can also review, organize and manage your daily notifications.
Usage
To send a notification to a user you just need to call one of these methods defined on res.users:
notify_success(message, title, is_sticky, date_time, act_window_id, act_client_id)
notify_danger(message, title, is_sticky, date_time, act_window_id, act_client_id)
notify_warning(message, title, is_sticky, date_time, act_window_id, act_client_id)
notify_info(message, title, is_sticky, date_time, act_window_id, act_client_id)
notify_default(message, title, is_sticky, date_time, act_window_id, act_client_id)
The parameters of each method:
The content of the notification.
The title of the notification.
If it is set as true, the popup notification will be sticky until the user closes it.
The date and time of the notification.
The id of the window action object 'ir.actions.act_window' which will be called when the user clicks the notification.
The id of the client action object 'ir.actions.client' which will be called when the user clicks the notification.
The act_window_id parameter has a higher priority, so if you set act_window_id and act_client_id, the window action will be called.
You have to put this module in the dependencies of your module.
Screenshots





Please log in to comment on this module