v 14.0 Third Party 301
Download for v 14.0 Deploy on Odoo.sh
Included Dependencies
Lines of code 7062
Technical Name sync_viber
Websitehttps://apps.odoo.com/apps/modules/14.0/sync
Also available in version v 15.0
You bought this module and need support? Click here!
Included Dependencies
Lines of code 7062
Technical Name sync_viber
Websitehttps://apps.odoo.com/apps/modules/14.0/sync
Also available in version v 15.0

Viber Integration

Receive and send messages via Viber bot

Version: v14.0.1.0.0


Tested and maintained by
IT Projects Labs
Assitance: help@itpp.dev

Viber Integration

Viber configuration

Create Viber bot and get Token of the bot.

Installation

  • Install this module in according to Sync Studio Documentation

  • Install python packages:

    python3 -m pip install viberbot
    
  • Due to Odoo limitations, one of the following workarounds should be applied on setting up webhooks:

    • either delete line that raise exception in case of type mismatching (search for Function declared as capable of handling request of type in standard Odoo code). In most cases, this workaround doesn't need to be reverted
    • or open file sync/controllers/webhook.py and temporarily change type="json" to type="http"
Specific installation of queue_job

If messages from Odoo to Viber Bot haven't been sent the problem may be in the wrong queue_job installation. You should check how to install this module in its docs In particular, you need to add queue_job to server_wide_modules.

Configuration

  • Open menu [[ Sync Studio ]] >> Sync Projects
  • Choose Viber project
  • Go to Parameters tab
  • Click [Edit]
  • Set Parameters and Secrets:
    • VIBER_BOT_TOKEN
    • BOT_NAME
    • BOT_AVATAR_URL
  • Click [Run Now] button in SETUP_WEBHOOK

Usage

Viber:

  • send some message to the created bot

In Odoo:

  • Open [[ Discuss ]] menu
  • RESULT: there is new channel for the viber contact
  • Open the channel and reply to message

In Viber:

  • RESULT: the message is delivered via bot

You can continue chatting this way

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.
There are no ratings yet!
Custom Module with Viber Integration
by
etmelencion
on 3/23/23, 9:45 PM

Hello,

Are you open to making a custom module? who do we contact?


Thanks