summaryrefslogtreecommitdiff
path: root/addons/im_livechat/data/mail_shortcode_demo.xml
diff options
context:
space:
mode:
authorXavierDo <xdo@odoo.com>2018-02-13 14:20:16 +0100
committerXavierDo <xdo@odoo.com>2018-04-09 17:19:29 +0200
commit6c381a3a16787cdf881817f8173a1d8c99bd9c21 (patch)
treef382e7c7ee358e3cce26ce198b4a140a4fd7f0ac /addons/im_livechat/data/mail_shortcode_demo.xml
parentbd9398e24b152fdd5fc3344b6583ae6a944cb5f8 (diff)
[IMP] im_livechat, mail: replace emoji with unicode.
Remove the support to replace emojis by images. Most browser now support colored emoji or at least black and white emojis. The emojis list have been updated to ensure a correct support for most os/browser. Users have the possibility to install fonts localy if their os does not have one of the default emoji font installed. After default os emoji font, one of twemoji, emojione or noto color will be selected. The emoji list is now hardcoded in js in order to reduce the number of records in shortcodes. Also include a small fix for livechat to display message field when rating is bad. Task #36898 PR #23689
Diffstat (limited to 'addons/im_livechat/data/mail_shortcode_demo.xml')
-rw-r--r--addons/im_livechat/data/mail_shortcode_demo.xml2
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/im_livechat/data/mail_shortcode_demo.xml b/addons/im_livechat/data/mail_shortcode_demo.xml
index f98d1c10938..48b1c47e5ae 100644
--- a/addons/im_livechat/data/mail_shortcode_demo.xml
+++ b/addons/im_livechat/data/mail_shortcode_demo.xml
@@ -5,13 +5,11 @@
<record id="mail_canned_response_hello" model="mail.shortcode">
<field name="source">hello</field>
<field name="substitution">Hello. How may I help you?</field>
- <field name="shortcode_type">text</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>
- <field name="shortcode_type">text</field>
</record>
</data>