From 41579a293d6b4e2c4f5c52878820d388b022edb5 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Tue, 6 Oct 2015 10:14:55 +0200 Subject: [PATCH] [FIX] im_livechat: security record rules for live support * There is no `mail` field on model `mail.message` * There is no `mail.channel_ids` field on model `mail.channel` opw-650656 --- addons/im_livechat/security/im_livechat_channel_security.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/im_livechat/security/im_livechat_channel_security.xml b/addons/im_livechat/security/im_livechat_channel_security.xml index 5fa0888b950..32f4157dd8d 100644 --- a/addons/im_livechat/security/im_livechat_channel_security.xml +++ b/addons/im_livechat/security/im_livechat_channel_security.xml @@ -25,7 +25,7 @@ Live Support Managers can read messages from live support - [('mail.channel_ids.livechat_channel_id', '!=', None)] + [('channel_ids.livechat_channel_id', '!=', None)] @@ -36,7 +36,7 @@ Live Support Managers can see all session from live support - [('mail.channel_ids.livechat_channel_id', '!=', None)] + [('livechat_channel_id', '!=', None)]