Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 348 |
Technical Name |
mail_notify |
License | AGPL-3 |
Website | https://badep.ma |
Versions | 11.0 12.0 13.0 14.0 15.0 |
Odoo Push Notifications
Add push notifications for incoming messages for internal users
This module extends the native push notifications of Odoo to support all incoming messages instead of just chat messages. You Odoo instance must be served over HTTPS to receive push notifications.
Configuration
You can choose whether to use the internal bus (online) or Firebase Cloud Messaging (online & offline) for Push Notifications. For FCM, you'll need the Server API Key, the VAPID Key and the Messaging ID. All of which you can get Here
In the user preferences, the notifications management must be set to Handle in Odoo
Usage
Each time a user receives an incoming message they will also receive a native notification for it. The user can also click on the notification to open the related document.
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizednot working
This module is not working. Tried on clean odoo 15 database with official dockerfile from dockerhub. Even after installing pyfcm. Author is not responding.
not working
This module is not working. Tried on clean odoo 15 database with official dockerfile from dockerhub. Even after installing pyfcm.
Author is not responding.
test apps
hello
is it possible to test this apps ?
that demo link does not work. I tried signing up and logging in but the screen remains blank after that
Re:
Your profile should work. Try to access directly to https://demo.badep.ma/web
Do we need a native mobile app for android (on playstore) for the notifications to work?
Do you provide a source code for the native android app so that we are sure there are no back-doors etc to our database?
Re:
Hello,
The native Android App is not necessary as you can still get push notifications from web browsers even if they are closed. The native Android app serves only as a packaging to have an easy-to-deliver method with your own branding for your end users.
You can test this behavior directly from Chrome be allowing Push notifications and choosing "Handle in Odoo" in your user preferences.
Thank you for responding.
1. The oca module you refer to does not exist for v 15.
2. If we use your module and if the user is offline at the time the notification is sent by your system, then would the user get that notification when he or she comes back online or is that notification lost forever if the user is offline at that moment?
3. Can you send me a demo link on ebrahym@muhammadi.me
Re:
Hello,
If you are using FCM then the notification will be delivered as soon as the user has an internet connection. Using Odoo's internal bus will not yield the same result.
You can use https://demo.badep.ma to create multiple accounts and test different scenarios. You can also use the corresponding mobile app in Google play store to test native android push notifications.
Is this dependent on any service like onesignal etc? What do you mean by internal bus (online)? If we do not use fcp then can we still send notifications ot subcrbers who can see it whenever they come online?
Re:
Hello,
To take full advantage of this module it is highly recommended to use FCM. This is because the internal bus will only send push notifications if there is an open browser tab, which kind of defeats the purpose of push notifications, especially on mobile devices. Whereas Firebase allows to deliver push notifications even when the user has no open tabs.
Also you can pair this module with web_pwa_oca to have a mobile app with offline notifications capabilities.