Web Push Notification | Firebase Notification | Firebase Push Notification
by Softhealer Technologies https://www.softhealer.com$ 41.51
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Discuss (mail)
|
Lines of code | 731 |
Technical Name |
sh_web_push_notifications |
License | OPL-1 |
Website | https://www.softhealer.com |
Versions | 11.0 12.0 13.0 14.0 15.0 16.0 17.0 |

Web Push Notification

Currently, in odoo, there is no feature for web push notifications for users. This module allows to send a push notification with help of a firebase to your users.
Related Modules

Features

- Easy to create a web push notification.
- Here you have several options to send notifications for specific users.
- Just Config your project on firebase and go for it.
- No more configuration required, just install it and cheers!
Notes

- SSL required if you are on the cloud or using IP. As without SSL permission of notification does not work. If you are running odoo on the localhost (http://localhost) then it's not required SSL.
- Although PWA supports IOS/Android, The firebase push API has some browser limitations, which you can check using the below link.
Firebase Support
Copy Link: https://firebase.google.com/support/troubleshooter/fcm/delivery/diagnose/
web#:~:text=arrow_back%20FCM%20browser%20support%20and,a%20browser%20supports%20messaging%20capabilities
Browser Compatibility With Push API
Copy Link: https://caniuse.com/push-api - Please ask us on sales@softhealer.com if any doubt.
Allow User access right, so that user can create a web push notification.

In General Setting, just past firebase keys and config code (First Config Firebase Setup)

Web Push Notification Menu and Tree View.

Web Push Notification Form view, Here you can create a notification.

After 'Validate' notification click 'Send Notification', and users get the notification.

Make sure your users allow the Notification popup in their browsers.

In 'Register User' here you can see the list of all users who are getting notifications.

Web Notification look like below image. Cheers....

Go to Firebase Console and click on add project.

Here add your project name and click next.

If you want google analytics so enable it else disable that and click continue.

Click continue.

After adding project, Select 'Web' option click on it.

After that step here just add your project nick name and click register add.

Then next all steps and click 'Continue to Console'.

Now here goto project setting.

Here goto 'General' tab and copy 'config' code (make sure only copy selected code as per indicate in this screenshot).

Now goto 'Cloud Messaging' and copy server key and paste it in 'Api key' in odoo general setting. Now click on 'Generate Key Pair'.

After that copy that key and paste in 'Vapid' in odoo general setting. Thats it.

Version 17.0.2 | Released on : 3rdOctober 2024
Version 17.0.1 | Released on : 21stSeptember 2023
- Yes, this app works perfectly with Odoo Enterprise (Odoo.sh & Premise) as well as Community.
- No, this application is not compatible with odoo.com(odoo saas).
- Please Contact Us at sales@softhealer.comto request customization.
- Yes, we provide free support for 100 days.
- Yes, you will get free update for lifetime.
- Yes, you need to install 'pyfcm' library.
- Yes, You have to download module for each version (13,14,15) except in version 12 or lower.
- No, We do not provide any kind of exchange.
Multi-Languages







Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module