Odoo Push Notifications

by
Odoo
v 15.0 Third Party 17 300
Download for v 15.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 348
Technical Name mail_notify
LicenseAGPL-3
Websitehttps://badep.ma
Versions 15.0 11.0 13.0 14.0 12.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 348
Technical Name mail_notify
LicenseAGPL-3
Websitehttps://badep.ma
Versions 15.0 11.0 13.0 14.0 12.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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
not working
by
Filips
on 10/20/23, 7:02 AM

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
by
Filips
on 10/18/23, 11:46 AM Confirmed Purchase

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
by
Sylvain Besson
on 11/24/22, 3:50 AM

hello

is it possible to test this apps ?


by
Muhammad Ibrahim
on 8/19/22, 7:29 AM

that demo link does not work. I tried signing up and logging in but the screen remains blank after that

Re:
by
Khalid Hazam
on 8/19/22, 8:19 AM Author

Your profile should work. Try to access directly to https://demo.badep.ma/web


by
Muhammad Ibrahim
on 8/19/22, 7:26 AM

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:
by
Khalid Hazam
on 8/19/22, 8:18 AM Author

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.


by
Muhammad Ibrahim
on 8/19/22, 6:51 AM

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:
by
Khalid Hazam
on 8/19/22, 7:10 AM Author

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.


by
Muhammad Ibrahim
on 8/19/22, 5:59 AM

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:
by
Khalid Hazam
on 8/19/22, 6:19 AM Author

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.