summaryrefslogtreecommitdiff
path: root/addons/mail_bot/data/mailbot_data.xml
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2020-06-25 10:12:17 +0000
committerSébastien Theys <seb@odoo.com>2020-06-25 12:54:26 +0000
commit6da8fac5f46a0040fe8185e83a3f6a4a3c653464 (patch)
treeead63ef392215221f4eb6a1431a6e3660bc390b6 /addons/mail_bot/data/mailbot_data.xml
parent7ab957d7b07e53d23872351919bf91de3a340d97 (diff)
[FIX] mail_bot: fix OdooBot not starting
- fix initializer start override (typo in method name) - properly wrap async code in models - disable OdooBot for System user - use existing python method to create chat task-2284584 closes odoo/odoo#53669 X-original-commit: 47bbfeab9e238ab542d16bf4ed17d60ad6aea50d Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/mail_bot/data/mailbot_data.xml')
-rw-r--r--addons/mail_bot/data/mailbot_data.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/mail_bot/data/mailbot_data.xml b/addons/mail_bot/data/mailbot_data.xml
index 20233fd7310..4dbec8cf6c3 100644
--- a/addons/mail_bot/data/mailbot_data.xml
+++ b/addons/mail_bot/data/mailbot_data.xml
@@ -6,5 +6,9 @@
<field name="email">odoobot@example.com</field>
<field name="image_1920" type="base64" file="mail/static/src/img/odoobot.png"/>
</record>
+
+ <record id="base.user_root" model="res.users">
+ <field name="odoobot_state">disabled</field>
+ </record>
</data>
</odoo>