From fa17b86a9f88942d33914904ba52ea737650ac1a Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Tue, 23 Dec 2014 10:22:36 +0100 Subject: [PATCH] [FIX] project: multi-company security rules in Tasks Analysis This change avoid to display the tasks that a user is not permitted to see in the reporting view 'Task analysis' Closes #4399 Courtesy of jkei https://github.com/jkei --- addons/project/security/project_security.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/addons/project/security/project_security.xml b/addons/project/security/project_security.xml index e1c2a8f997a..56876d663d8 100644 --- a/addons/project/security/project_security.xml +++ b/addons/project/security/project_security.xml @@ -101,5 +101,12 @@ + + Task Analysis multi-company + + + ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])] + +