[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
This commit is contained in:
Denis Ledoux
2015-08-03 16:52:11 +02:00
parent 255136a500
commit 5140e89224
@@ -36,7 +36,7 @@
<field name="name">Live Support Managers can see all session from live support</field>
<field name="model_id" ref="im_chat.model_im_chat_session"/>
<field name="groups" eval="[(6,0,[ref('im_livechat.group_im_livechat_manager')])]"/>
<field name="domain_force">[('to_id.channel_id', '!=', None)]</field>
<field name="domain_force">[('channel_id', '!=', None)]</field>
<field name="perm_unlink" eval="1"/>
<field name="perm_write" eval="0"/>
<field name="perm_read" eval="1"/>