From 5140e892241d08010d30003307396d899e1890fa Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Mon, 3 Aug 2015 16:50:11 +0200 Subject: [PATCH] [FIX] im_livechat: security record rule on im_chat.session There is no `to_id` field on the model `im_chat.session`, but there is a `channel_id` field. This is probably a copy/paste mistake, as the rule just above had the same exact domain. opw-646243 --- addons/im_livechat/security/im_livechat_security.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/im_livechat/security/im_livechat_security.xml b/addons/im_livechat/security/im_livechat_security.xml index 8e000aacfbd..ad0490d1638 100644 --- a/addons/im_livechat/security/im_livechat_security.xml +++ b/addons/im_livechat/security/im_livechat_security.xml @@ -36,7 +36,7 @@ Live Support Managers can see all session from live support - [('to_id.channel_id', '!=', None)] + [('channel_id', '!=', None)]