---
title: "channel_rule (Odoo)"
description: "itgen_odoo_channel_rule"
language: it
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/it/datamodels/odoo/Odoo.im_livechat.channel_rule
original: https://documentation.invantive.eu/en/datamodels/odoo/Odoo.im_livechat.channel_rule
updated: 2026-11-18T01:03:56Z
license: https://documentation.invantive.eu/it/
---

# channel_rule: Odoo itgen_odoo_channel_rule

`read only` `per partition`

- Catalogo: `Odoo`
- Schema: `im_livechat`
- Etichetta: itgen_odoo_channel_rule

Regole del canale Livechat

È possibile solo recuperare i dati.

## Riepilogo

Channel Rules
        Rules defining access to the channel (countries, and url matching). It also provide the 'auto pop'
        option to open automatically the conversation.

## Colonne della tabella

Di seguito sono riportate le colonne della tabella `channel_rule`. Ogni colonna ha un tipo di dati SQL. Un nuovo valore non nullo deve essere fornito per ogni colonna richiesta in ogni momento durante l'inserimento e l'aggiornamento.

| Name | Tipo di dati | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `action` | `varchar2` | Live Chat Button | [x] |  | * '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` | `varchar2` |  | [ ] |  | The channel of the rule |
| `channel_id_label` | `varchar2` |  | [ ] |  | 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` | `varchar2` |  | [ ] |  |  |
| `chatbot_script_id_label` | `varchar2` |  | [ ] |  |  |
| `country_ids` | `varchar2` |  | [ ] |  | 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` | Creato il | [ ] |  |  |
| `create_uid` | `varchar2` |  | [ ] |  |  |
| `create_uid_label` | `varchar2` |  | [ ] |  |  |
| `display_name` | `varchar2` | Nome visualizzato | [ ] |  |  |
| `id` | `int32` | ID | [ ] |  |  |
| `regex_url` | `varchar2` | 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` | `varchar2` |  | [ ] |  |  |
| `write_uid_label` | `varchar2` |  | [ ] |  |  |


## Note di rilascio

Cosa è cambiato, versione per versione, nelle tabelle, nelle colonne, negli attributi e nelle funzionalità del driver:

- [Odoo](/it/release-notes/drivers?driver=odoo)
