From 4e061d8c51f92fd8dde626bb8ddbdd867db84046 Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Thu, 15 Feb 2018 12:22:12 +0100 Subject: [PATCH] [REV] crm: allow a user assigned to activity to see lead This reverts commit ab65a02f5ace3b72d5dc00cd46523958bda964c0. Before that commit "Sales / User: Own Documents Only" had access to self-assigned or without salesperson assigned leads. With the change, user of this group were meant to also have access to leads with an activity to which they were assigned to. But: - this is a different behavior from activities on other models. - there is a technical disability that in some case prevent to have fully functionning access rules if based on one2many with auto_join=True (we will try to fix this in master). opw-816246 closes #23085 --- addons/crm/security/crm_security.xml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/addons/crm/security/crm_security.xml b/addons/crm/security/crm_security.xml index 08e175f2244..e3f76bed2f0 100644 --- a/addons/crm/security/crm_security.xml +++ b/addons/crm/security/crm_security.xml @@ -27,16 +27,6 @@ ['|',('user_id','=',user.id),('user_id','=',False)] - - Leads with assigned activities - - [('activity_ids.user_id','=',user.id)] - - - - - - All Leads