channel_rule |
Livechat Channel Rules
Catalog: Odoo
Schema: im_livechat
Documentation:
Channel Rules
Rules defining access to the channel (countries, and url matching). It also provide the 'auto pop'
option to open automatically the conversation.
The data in this table is partitioned per value of the column.
This is a read-only table. The Odoo API may not support changing the data or the Invantive SQL driver for Odoo does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Odoo API.
Table Columns
The columns of the table channel_rule are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
action |
string |
Live Chat Button |
☑ |
* 'Show' displays the chat button on the pages.* 'Show with notification' is 'Show' in addition to a floating text just next to the button.* 'Open automatically' displays the button and automatically opens the conversation pane.* 'Hide' hides the chat button on the pages. |
auto_popup_timer |
int32 |
Open automatically timer |
☐ |
Delay (in seconds) to automatically open the conversation window. Note: the selected action must be 'Open automatically' otherwise this parameter will not be taken into account. |
channel_id_label |
string |
|
☐ |
The channel of the rule |
channel_id |
string |
|
☐ |
The channel of the rule |
chatbot_only_if_no_operator |
boolean |
Enabled only if no operator |
☐ |
Enable the bot only if there is no operator available |
chatbot_script_id_label |
string |
|
☐ |
|
chatbot_script_id |
string |
|
☐ |
|
country_ids |
string |
|
☐ |
The rule will only be applied for these countries. Example: if you select 'Belgium' and 'United States' and that you set the action to 'Hide', the chat button will be hidden on the specified URL from the visitors located in these 2 countries. This feature requires GeoIP installed on your server. |
create_date |
datetime |
Created on |
☐ |
|
create_uid_label |
string |
|
☐ |
|
create_uid |
string |
|
☐ |
|
display_name |
string |
Display Name |
☐ |
|
id |
int32 |
ID |
☐ |
|
regex_url |
string |
URL Regex |
☐ |
Regular expression specifying the web pages this rule will be applied on. |
sequence |
int32 |
Matching order |
☐ |
Given the order to find a matching rule. If 2 rules are matching for the given url/country, the one with the lowest sequence will be chosen. |
write_date |
datetime |
Last Updated on |
☐ |
|
write_uid_label |
string |
|
☐ |
|
write_uid |
string |
|
☐ |
|
01-03-2023 15:29 Version 22.1.135-BETA+3826