From 318893d6ed941f81bbbea230a087a3574cc97dcb Mon Sep 17 00:00:00 2001 From: David Beguin Date: Mon, 26 Nov 2018 08:41:39 +0000 Subject: [PATCH] [IMP] im_livechat, website_livechat : update website default livechat In order to facilitiate the configuration of a livechat on the website, the first livechat channel that was demo data from im_livechat is now set as data. Website is now using this first livechat channel instead of creating a new one and using it. Task ID : 1912056 Closes PR #29020 --- addons/im_livechat/__manifest__.py | 1 + addons/im_livechat/data/im_livechat_channel_data.xml | 9 +++++++++ addons/im_livechat/data/im_livechat_channel_demo.xml | 7 +------ addons/website_livechat/data/website_livechat_data.xml | 8 +------- 4 files changed, 12 insertions(+), 13 deletions(-) create mode 100644 addons/im_livechat/data/im_livechat_channel_data.xml diff --git a/addons/im_livechat/__manifest__.py b/addons/im_livechat/__manifest__.py index a7ca18b1525..598e45dc37c 100644 --- a/addons/im_livechat/__manifest__.py +++ b/addons/im_livechat/__manifest__.py @@ -20,6 +20,7 @@ Help your customers with this chat, and analyse their feedback. """, 'data': [ "data/mail_shortcode_data.xml", + "data/im_livechat_channel_data.xml", "security/im_livechat_channel_security.xml", "security/ir.model.access.csv", "views/rating_views.xml", diff --git a/addons/im_livechat/data/im_livechat_channel_data.xml b/addons/im_livechat/data/im_livechat_channel_data.xml new file mode 100644 index 00000000000..59e9e693211 --- /dev/null +++ b/addons/im_livechat/data/im_livechat_channel_data.xml @@ -0,0 +1,9 @@ + + + + + YourWebsite.com + Hello, how may I help you? + + + diff --git a/addons/im_livechat/data/im_livechat_channel_demo.xml b/addons/im_livechat/data/im_livechat_channel_demo.xml index 848965ec448..3061dcc799b 100644 --- a/addons/im_livechat/data/im_livechat_channel_demo.xml +++ b/addons/im_livechat/data/im_livechat_channel_demo.xml @@ -1,16 +1,11 @@ - - YourWebsite.com - Hello, how may I help you? - - /im_livechat/ auto_popup 3 - + diff --git a/addons/website_livechat/data/website_livechat_data.xml b/addons/website_livechat/data/website_livechat_data.xml index 42a52461863..0368a3e98af 100644 --- a/addons/website_livechat/data/website_livechat_data.xml +++ b/addons/website_livechat/data/website_livechat_data.xml @@ -1,14 +1,8 @@ - - - YourWebsiteWithOdoo.com - Hello, how may I help you? - - - +