Viber Integration

by
Odoo

21.44

v 16.0 Third Party
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies
Lines of code 8227
Technical Name us_viber
LicenseOPL-1
Websitehttps://unitsoft.com.ua/
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies
Lines of code 8227
Technical Name us_viber
LicenseOPL-1
Websitehttps://unitsoft.com.ua/

Viber Integration

Communicate with Viber users in Odoo

Version: v16.0.1.0.0

1) Create bots easily.

2) Send messages to all bot users.

3) Communicate in the document chatter.

4) You can also quick open discuss chat with client.

5) Create and send Carousel Content message.

Documentation

Installation

  • Install this module in according to us_messenger Documentation

Configuration

In Viber

  • Create a bot and get its token
  • Please note that since 5.02.24, Viber bots can only be created on commercial terms. Please find more information here.

In Odoo

  • Activate Developer Mode
  • Open menu [[ Settings ]] >> Technical >> Parameters >> System Parameters
  • Check that parameter web.base.url is properly set and it's accessible over internet (it should not be a localhost). Also, viber accepts https addresses only (i.e. not http). If you can use only localhost, use ngrok
  • Open menu [[ Messengers ]] >> Messengers
  • Select Kanban card with viber icon and name 'Enter_bot_name' project
  • Enter new bot token to field token
  • Enter bot name and select the operators with which the user will contact
  • Unarchive the project
  • Click button [Run Now] in the upper left corner

Usage

Conversation in Discuss menu

In Viber:

  • begin conversation with created bot
  • enter contact data (email, phone number) optionally
  • click button 'Connect with operator'

In Odoo:

  • Open [[ Discuss ]] menu
  • RESULT: two contact records will be created, child and parent. Later, other children from different messengers can join the parent record
  • RESULT: there is channel with name Viber:<VIBER NAME>.
  • Open the channel and reply to message

In Viber:

  • RESULT: the message is delivered via bot

You can continue chatting this way

Conversation in any document where there is a chatter

In Odoo:

  • Make sure that in the [[ Messengers ]] >> Messengers >> <Your bot name> >> Parameters you have 'yes' written in CHATTER
  • Add followers to chatter by clicking on button 'Add followers'. Select only parent contacts (without any bot name)
  • Click on button 'Send Message'. Select to whom and in which messenger to send a message. Write message and send. Note: the message will be sent not only in the selected messenger but also by mail. To disable sending by mail you can click button Followers, select follower, click 'Edit subscription', and disable 'Discussions' and enable 'Note'
  • In [[ Discuss ]] menu you will see the message from document with message with signature from which document it was written

In Viber:

  • RESULT: A new message will appear
  • Answer on this message

In Odoo:

  • RESULT: the message from Viber you will see in chatter document

Carousel Content message

You can create your own carousels, learn more about creating carousels on the site.

  • To change the carousel, go to [[ Messengers ]] >> Messengers >> <Your bot name> >> Advanced >> Common Code

Документація

Встановлення

  • Встановіть модуль відповідно до документації модуля us_messenger

Конфігурація

У Viber

  • Створіть бота та отримайте його токен
  • Зверніть увагу, що з 5.02.24 Viber-боти можна створювати лише на комерційних умовах. Будь ласка, знайдіть більше інформації тут.

В Odoo

  • Активуйте режим розробника
  • Відкрийте меню [[ Налаштування ]] >> Технічні налаштування >> Параметри системи
  • Перевірте, чи правильно встановлено параметр web.base.url і він доступний через Інтернет (це не має бути локальний хост). Крім того, Viber приймає тільки https-адреси (тобто не http). Якщо ви можете використовувати лише localhost, використовуйте ngrok
  • Відкрийте меню [[ Месенджери ]] >> Месенджери
  • Виберіть картку Канбан з іконкою Viber та назвою 'Enter_bot_name'
  • Введіть новий токен бота в токен поля
  • Введіть назву бота та виберіть операторів, з якими зв'яжеться користувач
  • Розархівуйте проєкт
  • Натисніть кнопку [Запустити] у верхньому лівому куті

Використання

Розмова в меню «Обговорення»

У Viber:

  • Почніть розмову зі створеним ботом
  • За бажанням введіть контактні дані (email, номер телефону)
  • Натисніть кнопку «Зв'язатися з оператором»

В Odoo:

  • Відкрийте [[ Обговорення ]]
  • РЕЗУЛЬТАТ: буде створено два контактні записи, дочірній і батьківський. Пізніше до батьківського запису можуть приєднатися інші дочірні картки з різних месенджерів
  • РЕЗУЛЬТАТ: з'явився канал з назвою Viber:<НАЗВА VIBER>.
  • Відкрийте канал і дайте відповідь на повідомлення

У Viber:

  • РЕЗУЛЬТАТ: повідомлення доставляється через бота

Ви можете продовжити спілкування в чаті таким чином

Розмова в будь-якому документі, де є обговорення

В Odoo:

  • Переконайтеся, що в [[ Месенджери ]] >> Месенджери >> <Ім'я вашого бота> >> Параметри у в полі CHATTER написано «yes»
  • Додайте підписників до чату, натиснувши кнопку 'Додати підписників'. Виберіть лише батьківські контакти (без будь-якої назви бота)
  • Натисніть кнопку 'Надіслати повідомлення'. Виберіть кому і в якому месенджері відправити повідомлення. Напишіть повідомлення та надішліть.
  • Зауважте: повідомлення буде відправлено не лише у вибраний месенджер, але й електронною адресою. Щоб вимкнути відправку поштою, ви можете натиснути кнопку "Підписники", вибрати підписника, натиснути "Редагувати підписку" та вимкнути "Обговорення", а також увімкнути "Примітка".
  • У меню [[ Обговорення ]] ви побачите повідомлення з документа з підписом, від якого було написано це повідомлення

У Viber:

  • РЕЗУЛЬТАТ: з'явиться нове повідомлення
  • Відповідайте на це повідомлення

В Odoo:

  • РЕЗУЛЬТАТ: повідомлення з Viber ви побачите в чат-документі

Carousel Content повідомлення

Ви можете створювати власні каруселі. Дізнайтеся більше про створення каруселей на сайті.

  • Щоб змінити карусель, перейдіть до [[ Месенджери ]] >> Месенджери >> Ім'я вашого бота> >> Для розробників >> Common Code

Viber Integration

Installation

  • Install this module in according to us_messenger Documentation

Configuration

In Viber

Create Viber bot and get Token of the bot.

In Odoo

  • Activate Developer Mode
  • Open menu [[ Settings ]] >> Technical >> Parameters >> System Parameters
  • Check that parameter web.base.url is properly set and it's accessible over internet (it should not be a localhost). Also, viber accepts https addresses only (i.e. not http). If you can use only localhost, use ngrok
  • Open menu [[ Messengers ]] >> Messengers
  • Select Kanban card with viber icon and name 'Enter_bot_name' project
  • Enter new bot token to field token
  • Enter bot name and select the operators with which the user will contact
  • Unarchive the project
  • Click button [Run Now] in the upper left corner

Usage

Conversation in Discuss menu

In Viber:

  • begin conversation with created bot
  • enter contact data (email, phone number) optionally
  • click button 'Connect with operator'

In Odoo:

  • Open [[ Discuss ]] menu
  • RESULT: two contact records will be created, child and parent. Later, other children from different messengers can join the parent record
  • RESULT: there is channel with name Viber:<VIBER NAME>.
  • Open the channel and reply to message

In Viber:

  • RESULT: the message is delivered via bot

You can continue chatting this way

Conversation in any document where there is a chatter

In Odoo:

  • Make sure that in the [[ Messengers ]] >> Messengers >> <Your bot name> >> Parameters you have 'yes' written in CHATTER
  • Add followers to chatter by clicking on button 'Add followers'. Select only parent contacts (without any bot name)
  • Click on button 'Send Message'. Select to whom and in which messenger to send a message. Write message and send. Note: the message will be sent not only in the selected messenger but also by mail. To disable sending by mail you can click button Followers, select follower, click 'Edit subscription', and disable 'Discussions' and enable 'Note'
  • In [[ Discuss ]] menu you will see the message from document with message with signature from which document it was written

In Viber:

  • RESULT: A new message will appear
  • Answer on this message

In Odoo:

  • RESULT: the message from Viber you will see in chatter document
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

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 or have a question related to your purchase, please use the support page.