Included Dependencies | Show |
Lines of code | 7062 |
Technical Name |
sync_viber |
Website | https://apps.odoo.com/apps/modules/14.0/sync |
Also available in version | v 15.0 |
Included Dependencies | Show |
Lines of code | 7062 |
Technical Name |
sync_viber |
Website | https://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
Let our expertise work for you!
(Doors and windows below are clickable)
/itpp-labs-1100.jpg)
/itpp-labs-930.jpg)
/itpp-labs-690.jpg)
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
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
Custom Module with Viber Integration
Hello,
Are you open to making a custom module? who do we contact?
Thanks