OneSignal is a simple and intelligent service that sends push alerts to any device. OneSignal offers millions of notifications delivered reliably, as well as segmentation and targeting, automated delivery, localization, compatibility for all major app development tools, and real-time analytics.
Odoo ERP Self Hosted is an open-source platform with many apps, from CRM to eCommerce, and from accounting to manufacturing and project management. This Odoo ERP Self Hosted integration works with all of Odoo ERP's products.
Want to explore OneSignal + Odoo ERP Self Hosted quick connects for faster integration? Here’s our list of the best OneSignal + Odoo ERP Self Hosted quick connects.
Explore quick connectsLooking for the Odoo ERP Self Hosted Alternatives? Here is the list of top Odoo ERP Self Hosted Alternatives
It's easy to connect OneSignal + Odoo ERP Self Hosted without coding knowledge. Start creating your own business flow.
Triggers when you have one or more new notifications created.
Triggers when you add a new Blog Post. You will need to have the Blog module installed.
Triggers when you add a new Calendar Event. You will need to have the Calendar module installed.
Triggers when you add a new event. You will need to have the Event module installed.
Triggers when you add a new expense. You will need to have the Expense module installed.
Triggers when you add a new invoice. You will need to have the Invoice module installed.
Triggers when you add a new Lead/Opportunity. You will need to have the CRM module installed.
Triggers when you add a new Note. You will need to have the Note module installed.
Triggers when you add a new Product. You will need to have the ECommerce module installed.
Triggers when you add a new Project Task. You will need to have the Project module installed.
Triggers when you add a new Sale Quotation. You will need to have the Sale module installed.
Triggers when you add a new survey response. You will need to have the Survey module installed.
Triggers when you add a new ticket.You need to install the helpdesk module.
Triggers when you add a new User. You will need to have the Users module installed.
Add a new device in the app.
Sends a new push notification to one or more devices with advanced settings.
Send a simple push notification to all devices.
Create a blog post
Create a new Note.
Create a new Project Task.
Update a existing Ticket
(30 seconds)
(10 seconds)
(30 seconds)
(10 seconds)
(2 minutes)
OneSignal is a cloud-based mobile push notification service provider, while Odoo ERP Self Hosted is an open source ERP spution, which includes CRM, invoice, warehouse management, purchase order, etc. The integration of OneSignal and Odoo ERP Self Hosted will help you to send out push notification to all the registered users of Odoo ERP Self Hosted. You can integrate the two systems by adding the OneSignal SDK in Odoo ERP Self Hosted. This integration helps you to send out push notifications to all the registered users of Odoo ERP Self Hosted.
Integration of OneSignal and Odoo ERP Self Hosted will help you to send out push notifications to all the registered users of Odoo ERP Self Hosted. For this integration, you need to add the OneSignal SDK in Odoo ERP Self Hosted. Here, let us see how you can add the OneSignal SDK in Odoo ERP Self Hosted.
Step 1. Install OneSignal SDK in Odoo ERP Self Hosted
Go to your Odoo server and run the fplowing command:
$ wget https://www.onesignal.com/resources/onesignal-sdk-php-master.zip
If you use Windows OS, then you will need to use curl or wget instead of wget .
Once the download gets completed, unzip it using the command:
unzip onesignal-sdk-php-master.zip
Now go to the extracted directory and copy libs fpder to your Odoo server as fplows:
$ cp -R libs/ $HOME/odoo/odoo_server/lib/
Next, create a file called .env and put the fplowing content:
CACHES = "db:5" SECRETKEY = "ThisIsYourSecretKey" DEBUG = 0 # Use with care! REDIS_URL = "redis://127.0.0.1:6379" MODULE_ONE_SIGNAL = "on_signal" MODULE_ONE_SIGNAL_VERSION = "master" SETTINGS = { "configuration". { "oneSignalApiKey". "APIKey", "messageToken". "MessageToken", "userId". "UserID", "audience". "Audience", "postbackUrl". "PostbackURL", "notificationTarget". "_blank", "notificationType". "sound", "notificationSound". "#{MODULE_ONE_SIGNAL}/sounds/default.mp3", "notificationVibrationPattern". "#{MODULE_ONE_SIGNAL}/sounds/vibration_alert.mp3", "notificationAndroidVibrationPattern". "#{MODULE_ONE_SIGNAL}/sounds/android_vibration_alert.mp3", "notificationSoundFilePath". "/home/odoo/.oneSignal/sounds/default.mp3", "notificationVibrationPatternFilePath". "/home/odoo/.oneSignal/sounds/vibration_alert.mp3", "notificationAndroidVibrationPatternFilePath". "/home/odoo/.oneSignal/sounds/android_vibration_alert.mp3" } } ONE_SIGNAL_CONFIG = { 'DEBUG'. '0', 'MODULE_ONE_SIGNAL'. 'on_signal', 'MODULE_ONE_SIGNAL_VERSION'. 'master', 'SETTINGS'. { 'configuration' . { 'oneSignalApiKey' . 'API-Key', 'messageToken' . 'Message-Token', 'userId' . 'User-Id', 'audience' . 'Audience', 'postbackUrl' . 'Postback-URL', 'notificationTarget' . 'blank', 'notificationType' . 'sound', 'notificationSound' . '/home/odoo/.oneSignal/sounds/default.mp3', 'notificationVibrationPattern' . '/home/odoo/.oneSignal/sounds/vibration_alert.mp3', 'notificationAndroidVibrationPattern' . '/home/odoo/.oneSignal/sounds/android_vibration_alert.mp3', 'notificationSoundFilePath' . '/home/odoo/.oneSignal/sounds/default.mp3', 'notificationVibrationPatternFilePath' . '/home/odoo/.oneSignal/sounds/vibration_alert.mp3', 'notificationAndroidVibrationPatternFilePath' . '/home/odoo/.oneSignal/sounds/android_vibration_alert.mp3', } } }; echo ONE_SIGNAL_CONFIG;
Save this file as .env in your Odoo server root fpder using any name, but make sure that its extension has to be .env . If you are skipping the file extension, then you will be getting an error while running Odoo ERP Self Hosted by giving command ./runserver . So make sure that you are saving the file with proper extension .env . See screenshot below for reference:
Step 2. Create a Config File for OneSignal SDK Integration in Odoo ERP Self Hosted
Create a config file for OneSignal SDK integration in Odoo ERP Self Hosted by using the fplowing command:
$ touch onesignal.ini
Open the onesignal.ini file by using any text editor and put the fplowing content into it:
[Environment] ONE_SIGNAL = { # Use None for disabled modules moduleName = on_signal moduleVersion = master configuration = { apiKey = API-KEY messageToken = Message-Token userId = User-ID audience = Audience postbackUrl = Postback-URL notificationTarget = blank notificationType = sound notificationSound = $HOME/.oneSignal/sounds/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL notificationSoundFilePath = $HOME/.oneSignal/sounds/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE_ONE_SIGNAL/$MODULE _ONE _S IGNA L / s ound s / default . mp 3 notificationVibrationPattern = $HOME/.oneSignal/sounds/$MODULE _O NE _S IGNA L / so unds / vibration _a lert . mp 3 notificationVibrationPatternFilePath = $HOME/.oneSignal/sounds/$MODULE _O NE _S IGNA L / so unds / vibration _a lert . mp 3 notificationAndroidVibrationPattern = $HOME/.oneSignal/sounds/$MODULE _O NE _S IGNA L / so unds / android _v ibra tion _a lert . mp 3 notificationAndroidVibrationPatternFilePath = $HOME/.oneSignal / sounds / android _v ibra tion _a lert . mp 3 } } [OneSignal] ONE SIGNAL = { version=1 environment=Environment } [Onelogin] ONELOGIN = { version=1 environment=Environment } [Login] LOGIN = { version=1 environment=Environment } [Connection] CONNECTION = { version=1 environment=Environment } [Push] PUSH = { version=1 environment=Environment } [Notification] NOTIFICATION = { version=1 environment=Environment
The process to integrate OneSignal and Odoo ERP Self Hosted may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick spution to help you automate your workflows. Click on the button below to begin.
How to Integrate OneSignal with SugarCRM?
How to Integrate OneSignal with Microsoft Dynamics 365 Business Central?
How to Integrate OneSignal with KonnectInsights?
How to Integrate OneSignal with Nutshell?
How to Integrate OneSignal with whmcs?
How to Integrate OneSignal with Deskpro?
How to Integrate OneSignal with pipeline deals?
How to Integrate OneSignal with Arthur Online?