From 71f80c1383f302e64180a191f2e99e8701693cc1 Mon Sep 17 00:00:00 2001 From: Hetashree Chauhan Date: Fri, 20 Apr 2018 10:22:04 +0530 Subject: [PATCH] [IMP] im_livechat: move input_placeholder In order for the user to understand what the chat_input_placeholder field means we should add a tooltip. We should reorganize the fields in order to put them in logical order. This commit is related to task 1837812. Closes #24336 --- addons/im_livechat/models/im_livechat_channel.py | 2 +- addons/im_livechat/views/im_livechat_channel_views.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/im_livechat/models/im_livechat_channel.py b/addons/im_livechat/models/im_livechat_channel.py index 783fbd417ef..f7368853ffc 100644 --- a/addons/im_livechat/models/im_livechat_channel.py +++ b/addons/im_livechat/models/im_livechat_channel.py @@ -30,7 +30,7 @@ class ImLivechatChannel(models.Model): help="Default text displayed on the Livechat Support Button") default_message = fields.Char('Welcome Message', default='How may I help you?', help="This is an automated 'welcome' message that your visitor will see when they initiate a new conversation.") - input_placeholder = fields.Char('Chat Input Placeholder') + input_placeholder = fields.Char('Chat Input Placeholder', help='Text that prompts the user to initiate the chat.') # computed fields web_page = fields.Char('Web Page', compute='_compute_web_page_link', store=False, readonly=True, diff --git a/addons/im_livechat/views/im_livechat_channel_views.xml b/addons/im_livechat/views/im_livechat_channel_views.xml index 00659f883a5..3e1fa0bce28 100644 --- a/addons/im_livechat/views/im_livechat_channel_views.xml +++ b/addons/im_livechat/views/im_livechat_channel_views.xml @@ -124,8 +124,8 @@ - +