Integrate OneSignal with Odoo ERP Self Hosted

Appy Pie Connect allows you to automate multiple workflows between OneSignal and Odoo ERP Self Hosted

  • No code
  • No Credit Card
  • Lightning Fast Setup
Heart

20 Million work hours saved

Award Winning App Integration Platform

About OneSignal

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.

About Odoo ERP Self Hosted

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 connects

Looking for the Odoo ERP Self Hosted Alternatives? Here is the list of top Odoo ERP Self Hosted Alternatives

  • Odoo CRM Integration Odoo CRM
  • Microsoft Dynamics 365 Business Central Integration Microsoft Dynamics 365 Business Central
Connect OneSignal + Odoo ERP Self Hosted in easier way

It's easy to connect OneSignal + Odoo ERP Self Hosted without coding knowledge. Start creating your own business flow.

  • Triggers
  • New Notification Created

    Triggers when you have one or more new notifications created.

  • New Blog Post

    Triggers when you add a new Blog Post. You will need to have the Blog module installed.

  • New Calendar Event

    Triggers when you add a new Calendar Event. You will need to have the Calendar module installed.

  • New Event

    Triggers when you add a new event. You will need to have the Event module installed.

  • New Expense

    Triggers when you add a new expense. You will need to have the Expense module installed.

  • New Invoice

    Triggers when you add a new invoice. You will need to have the Invoice module installed.

  • New Lead/Opportunity

    Triggers when you add a new Lead/Opportunity. You will need to have the CRM module installed.

  • New Note

    Triggers when you add a new Note. You will need to have the Note module installed.

  • New Product

    Triggers when you add a new Product. You will need to have the ECommerce module installed.

  • New Project Task

    Triggers when you add a new Project Task. You will need to have the Project module installed.

  • New Sale Quotation

    Triggers when you add a new Sale Quotation. You will need to have the Sale module installed.

  • New Survey Response

    Triggers when you add a new survey response. You will need to have the Survey module installed.

  • New Ticket

    Triggers when you add a new ticket.You need to install the helpdesk module.

  • New User

    Triggers when you add a new User. You will need to have the Users module installed.

  • Actions
  • Add Device

    Add a new device in the app.

  • Send Advanced Push Notification

    Sends a new push notification to one or more devices with advanced settings.

  • Send Push Notification

    Send a simple push notification to all devices.

  • Create Blog Post

    Create a blog post

  • Create Note

    Create a new Note.

  • Create Project Task

    Create a new Project Task.

  • Update Ticket

    Update a existing Ticket

How OneSignal & Odoo ERP Self Hosted Integrations Work

  1. Step 1: Choose OneSignal as a trigger app and authenticate it on Appy Pie Connect.

    (30 seconds)

  2. Step 2: Select "Trigger" from the Triggers List.

    (10 seconds)

  3. Step 3: Pick Odoo ERP Self Hosted as an action app and authenticate.

    (30 seconds)

  4. Step 4: Select a resulting action from the Action List.

    (10 seconds)

  5. Step 5: Select the data you want to send from OneSignal to Odoo ERP Self Hosted.

    (2 minutes)

  6. Your Connect is ready! It's time to start enjoying the benefits of workflow automation.

Integration of OneSignal and Odoo ERP Self Hosted

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.

Page reviewed by: Abhinav Girdhar  | Last Updated on January 25,2023 05:21 pm