summaryrefslogtreecommitdiff
path: root/addons/mail_bot/data/mailbot_demo.xml
diff options
context:
space:
mode:
authorXavierDo <xdo@odoo.com>2018-08-14 10:47:21 +0200
committerXavierDo <xdo@odoo.com>2018-08-17 13:06:43 +0200
commitf83c31363149c9a9e8d47b5a502b8294bf331b05 (patch)
treec9b66144328863a7bfe29267146c1b75e8199db4 /addons/mail_bot/data/mailbot_demo.xml
parentdc5462db5168d62de6e6faf54a7ce9e320688e57 (diff)
[IMP] mail_bot: improve answers, initialisation and others
1. Odoobot shouldn't talk to admin when demo data are installed Odoobot will talk to a user on it's first connection, meaning that a dev will see this chat window a lot. The state disabled is not a real state but is explicit, the odoobot wont be initialized in this case. It is still possible to test odoobot flow with demo user. 2. remove old odoobot image and update link 3. small improvements in odoobot answers
Diffstat (limited to 'addons/mail_bot/data/mailbot_demo.xml')
-rw-r--r--addons/mail_bot/data/mailbot_demo.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/mail_bot/data/mailbot_demo.xml b/addons/mail_bot/data/mailbot_demo.xml
new file mode 100644
index 00000000000..c5d68ad7a60
--- /dev/null
+++ b/addons/mail_bot/data/mailbot_demo.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<odoo>
+ <data>
+ <!-- Disable odoobot on admin so that devs don't hate him -->
+ <record id="base.user_root" model="res.users">
+ <field name="odoobot_state">disabled</field>
+ </record>
+ </data>
+</odoo>