summaryrefslogtreecommitdiff
path: root/addons/im_livechat/data
diff options
context:
space:
mode:
authorDavid Beguin <dbe@odoo.com>2018-12-06 13:01:39 +0000
committerDavid Beguin <dbe@odoo.com>2018-12-06 13:01:39 +0000
commita12f693b212c650556fe0114a82717c995af031e (patch)
tree61c3f97eeee752b4534491995a19d1398fc5773d /addons/im_livechat/data
parent318893d6ed941f81bbbea230a087a3574cc97dcb (diff)
[IMP] im_livechat : set admin as default operator in demo data
To avoid having to configure the livechat channel when testing on runbot, the admin is already set as operator of the livechat channel. Task ID : 1912056 Closes PR #29020
Diffstat (limited to 'addons/im_livechat/data')
-rw-r--r--addons/im_livechat/data/im_livechat_channel_demo.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/im_livechat/data/im_livechat_channel_demo.xml b/addons/im_livechat/data/im_livechat_channel_demo.xml
index 3061dcc799b..26452b27ed4 100644
--- a/addons/im_livechat/data/im_livechat_channel_demo.xml
+++ b/addons/im_livechat/data/im_livechat_channel_demo.xml
@@ -11,5 +11,9 @@
<record id="im_livechat.im_livechat_group_user" model="res.groups">
<field name="users" eval="[(4, ref('base.user_demo'))]"/>
</record>
+
+ <record id="im_livechat_channel_data" model="im_livechat.channel">
+ <field name="user_ids" eval="[(4, ref('base.user_admin'))]"/>
+ </record>
</data>
</odoo>