Key Highlights
Real-time Alerts.
instant notifications on their devices (such as desktop or mobile) as soon as a new message arrives in their Odoo inbox.
Message Preview.
crafting concise and compelling content that provides users with a clear understanding of the notification's purpose.
Reduced Response Time.
notifications, users can respond promptly to important messages, improving communication efficiency and effectiveness.
Privacy and Security.
notifications are secure and respect user privacy, as they are confined within the Odoo environment.
Create a Firebase Project
Create a Project.
Help of AI Assistance
Make sure that enabled the Google Analytics for this project and click the Continue and Create the project.
Give your analytics location for more accuracy.
Now your project has been created.
Choose add app icon.
Then you need to create web app in that project for that click the web app icon in the project like shown below.
Set the name for the app and register the app.
Here you can see all the details we need you can copy them and after that select npm and click the Next Button.
After that you can click Next Button for Install Firebase CLI.
After that click the Continue to console.
After that you can see the app inside the project and click on the setting icon of the app to see the details of that app.
You can see the credentials(apiKey, authDomain, projectId, storageBucket, messagingSenderId, appId, measurementId) in the General --> Your apps.
Now we need to create a Vapid goto the Cloud Messaging --> Web configuration --> Generate Key pair.
We can see the Vapid here.
After that navigate to Firebase Admin SDK under Service accounts, select Python and Generate new private key. It will generate a json file containing all remaining credentials.
Downloaded json file.
Goto the General Settings --> Firebase Push Notification --> enable the 'Enable Push Notification' then you can set the credentials.
Courier Request Priority Tree View
If you are using firefox browser you need to allow the notification from clicking top of the browser and allow like in the above image
If you are using Brave browser you need to enable Google Services for push messaging for that goto the brave://settings/privacy in brave and enable 'Use Google services for push messaging' like shown in the above image.
After Allowing the notification access in the browser you can click the "TEST CONNECTION" Button.
Then you can see a notification on the system, and you can see a green popup.
After that you can send message from the chatBox module or in the discuss module.
Then you can see a popup notification in the other user and when you click on that it will be redirected to the odoo instance.
Our Features
Instant alerts.
Improve efficiency.
Frequently Asked Questions
What is the purpose of the mail_push_notification module?
It provides real-time push notifications to users when they receive new messages in the Odoo chat/discuss interface.
What external service is often needed to enable push notifications in browsers?
Firebase Cloud Messaging (FCM) — you usually need to set up a Firebase project and credentials.
Latest Releases
Our Services
Odoo Customization
Odoo Implementation
Odoo Support
Odoo Migration
Odoo integration
Odoo Consultancy
Odoo Licensing
Hire Odoo Developer
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 468 |
| Technical Name |
mail_push_notification |
| License | LGPL-3 |
| Website | https://www.cybrosys.com |
Please log in to comment on this module