From 0ee745224aa3eb075bea5bb4e3c80607f9d58ed8 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Fri, 24 May 2013 13:52:34 +0200 Subject: [PATCH] [FIX] portal: allow reading any partner belonging to the same entity bzr revid: odo@openerp.com-20130524115234-fcn9nfl8a23odqvg --- addons/portal/security/portal_security.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/portal/security/portal_security.xml b/addons/portal/security/portal_security.xml index b2a76800023..02080bdc0ab 100644 --- a/addons/portal/security/portal_security.xml +++ b/addons/portal/security/portal_security.xml @@ -5,7 +5,7 @@ res_partner: read access on my partner - [('user_ids', 'in', user.id)] + [('id', 'child_of', user.commercial_partner_id.id)]