summaryrefslogtreecommitdiff
path: root/addons/im_livechat/data
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2018-09-25 11:33:04 +0200
committerThibault Delavallée <tde@odoo.com>2018-09-25 14:44:41 +0200
commit83b9c376abeca30f18d2316b4973394bbd5f5db7 (patch)
treea9d477347180e8c269bc074f3584d5d8f01b1118 /addons/im_livechat/data
parent224aedd30fd6b6f03f360f6a541b4855fb0dcedb (diff)
[IMP] imp_livechat: add one shortcode as data
Purpose is to show people shortcode actually exists. Moreover having im_livechat_mail_bot requires to have a least one shortcode available in order to complete the onboarding with odoobot. Commit linked to task ID 1887949.
Diffstat (limited to 'addons/im_livechat/data')
-rw-r--r--addons/im_livechat/data/mail_shortcode_data.xml7
-rw-r--r--addons/im_livechat/data/mail_shortcode_demo.xml5
2 files changed, 7 insertions, 5 deletions
diff --git a/addons/im_livechat/data/mail_shortcode_data.xml b/addons/im_livechat/data/mail_shortcode_data.xml
new file mode 100644
index 00000000000..cc984c384c9
--- /dev/null
+++ b/addons/im_livechat/data/mail_shortcode_data.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo><data noupdate="1">
+ <record id="mail_shortcode_data_hello" model="mail.shortcode">
+ <field name="source">hello</field>
+ <field name="substitution">Hello. How may I help you?</field>
+ </record>
+</data></odoo> \ No newline at end of file
diff --git a/addons/im_livechat/data/mail_shortcode_demo.xml b/addons/im_livechat/data/mail_shortcode_demo.xml
index 48b1c47e5ae..239e8f03fa7 100644
--- a/addons/im_livechat/data/mail_shortcode_demo.xml
+++ b/addons/im_livechat/data/mail_shortcode_demo.xml
@@ -2,11 +2,6 @@
<odoo>
<data noupdate="1">
- <record id="mail_canned_response_hello" model="mail.shortcode">
- <field name="source">hello</field>
- <field name="substitution">Hello. How may I help you?</field>
- </record>
-
<record id="mail_canned_response_bye" model="mail.shortcode">
<field name="source">bye</field>
<field name="substitution">Thanks for your feedback. Good bye!</field>