diff options
| author | Aaron Bohy <aab@odoo.com> | 2016-04-29 15:22:23 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2016-05-03 10:34:41 +0200 |
| commit | 2264378739520fdc8b4c3967eebd4b35fff9f7fc (patch) | |
| tree | 5b6cb0eb3f7d66f4a1eecf8bd7f2c39a08887ca0 /addons/im_livechat/data/mail_shortcode_demo.xml | |
| parent | 29483ffe2eed65eee66ea49053ae5c8fda221a6b (diff) | |
[ADD] im_livechat,mail: canned responses support
Use the mention mechanism of the composer to autocomplete on canned responses
(keyword :) with fuzzy search.
Directly perform the string replacement in the composer, instead of
server-side as before.
Add a menu item to access an editable list view to create and edit canned
responses.
Add two canned responses as demo data.
Diffstat (limited to 'addons/im_livechat/data/mail_shortcode_demo.xml')
| -rw-r--r-- | addons/im_livechat/data/mail_shortcode_demo.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/addons/im_livechat/data/mail_shortcode_demo.xml b/addons/im_livechat/data/mail_shortcode_demo.xml new file mode 100644 index 00000000000..748fb65ba47 --- /dev/null +++ b/addons/im_livechat/data/mail_shortcode_demo.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<openerp> + <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> + <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> +</openerp> |
