From 25b5ab1bc3ddf53558b439cd8b5f8932f159b948 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Sat, 8 Oct 2022 09:39:10 +0000 Subject: [PATCH] [IMP] im_livechat: cleanup broken form views MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes odoo/odoo#102773 X-original-commit: 7140ed65fe45ec782999151e1c9878f28ab2ccc9 Signed-off-by: Fabien Pinckaers Signed-off-by: Alexandre Kühn (aku) --- .../models/chatbot_script_answer.py | 2 +- .../views/chatbot_script_step_views.xml | 46 ++++++++++--------- .../views/chatbot_script_views.xml | 6 +-- .../views/im_livechat_channel_views.xml | 44 ++++++++---------- 4 files changed, 45 insertions(+), 53 deletions(-) diff --git a/addons/im_livechat/models/chatbot_script_answer.py b/addons/im_livechat/models/chatbot_script_answer.py index 1d14db22cd5..9b5cce42db3 100644 --- a/addons/im_livechat/models/chatbot_script_answer.py +++ b/addons/im_livechat/models/chatbot_script_answer.py @@ -12,7 +12,7 @@ class ChatbotScriptAnswer(models.Model): _description = 'Chatbot Script Answer' _order = 'script_step_id, sequence, id' - name = fields.Char(string='Name', required=True, translate=True) + name = fields.Char(string='Answer', required=True, translate=True) sequence = fields.Integer(string='Sequence', default=1) redirect_link = fields.Char('Redirect Link', help="The visitor will be redirected to this link upon clicking the option " diff --git a/addons/im_livechat/views/chatbot_script_step_views.xml b/addons/im_livechat/views/chatbot_script_step_views.xml index 9452abf138f..ba2471efce5 100644 --- a/addons/im_livechat/views/chatbot_script_step_views.xml +++ b/addons/im_livechat/views/chatbot_script_step_views.xml @@ -15,28 +15,30 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/im_livechat/views/chatbot_script_views.xml b/addons/im_livechat/views/chatbot_script_views.xml index ae6b9285429..de67db5ce19 100644 --- a/addons/im_livechat/views/chatbot_script_views.xml +++ b/addons/im_livechat/views/chatbot_script_views.xml @@ -34,10 +34,8 @@ - - - + diff --git a/addons/im_livechat/views/im_livechat_channel_views.xml b/addons/im_livechat/views/im_livechat_channel_views.xml index e580c8e4e99..23fd496f7bb 100644 --- a/addons/im_livechat/views/im_livechat_channel_views.xml +++ b/addons/im_livechat/views/im_livechat_channel_views.xml @@ -98,8 +98,7 @@ - - + @@ -117,10 +116,9 @@ -

+

Operators that do not show any activity In Odoo for more than 30 minutes will be considered as disconnected.

-
@@ -146,31 +144,25 @@ - Define rules for your live support channel. You can apply an action for the given URL, and per country.
To identify the country, GeoIP must be installed on your server, otherwise, the countries of the rule will not be taken into account.
- - - + +
Define rules for your live support channel. You can apply an action for the given URL, and per country.
To identify the country, GeoIP must be installed on your server, otherwise, the countries of the rule will not be taken into account.
- - +
+ +

+ Copy and paste this code into your website, within the <head> tag: +

+ +

+ or copy this url and send it by email to your customers or suppliers: +

+ +

For websites built with the Odoo CMS, go to Website > Configuration > Settings and select the Website Live Chat Channel you want to add to your website.

+