Activity log for bug #1094212

Date Who What changed Old value New value Message
2012-12-28 09:50:54 Joannes Landy bug added bug
2013-01-01 10:43:37 Amit Bhavsar (Open ERP) openobject-server: status New Confirmed
2013-01-01 10:43:43 Amit Bhavsar (Open ERP) openobject-server: importance Undecided Medium
2013-01-01 10:43:55 Amit Bhavsar (Open ERP) openobject-server: assignee OpenERP's Framework R&D (openerp-dev-framework)
2013-01-03 13:06:39 Launchpad Janitor branch linked lp:~openerp-community/openobject-server/fix-1094212-multicompany-res_partner
2013-01-03 13:14:31 Niels Huylebroeck nominated for series openobject-server/7.0
2013-01-03 13:14:31 Niels Huylebroeck bug task added openobject-server/7.0
2013-01-16 08:24:31 Carlos Pueyo bug added subscriber Carlos Pueyo
2013-02-07 15:51:53 Joannes Landy attachment added patch_module https://bugs.launchpad.net/openobject-server/+bug/1094212/+attachment/3519156/+files/bug_fix_1094212.zip
2013-02-25 15:36:14 Xavier ALT openobject-server: status Confirmed Fix Released
2013-02-25 15:36:22 Xavier ALT openobject-server/7.0: status New Fix Released
2013-02-25 19:19:18 Serpent Consulting Services openobject-server: milestone 7.0
2013-03-10 20:50:25 Ahmet Altınışık description The search function of the partner view don't work when there is a acces rules change. For example, in a multi compagnies context: if there is a access rules change on "res.partner company" like: only see the partner of your company and his childs: ['|',('company_id','child_of',[user.company_id.id]),('company_id','=',False)] Before the access rules was : "res.partner company" ['|','|',('company_id.child_ids','child_of',[user.company_id.id]),('company_id','child_of',[user.company_id.id]),('company_id','=',False)] the access rules work fine, a user in a new company can see only the partner of his company, BUT the search function of the tree form always return an "access denied", so it's not possible to filter the partner list. The message is: Access Denied The requested operation cannot be completed due to security restrictions. Please contact your system administrator. (Document type: Partner, Operation: read) It's problably the "name_search" function in partner class who don't take care of access rule. The search function of the partner view don't work when there is a acces rules change. For example, in a multi compagnies context: if there is a access rules change on "res.partner company" like: only see the partner of your company and his childs: ['|',('company_id','child_of',[user.company_id.id]),('company_id','=',False)] Before the access rules was : "res.partner company" ['|','|',('company_id.child_ids','child_of',[user.company_id.id]),('company_id','child_of',[user.company_id.id]),('company_id','=',False)] the access rules work fine, a user in a new company can see only the partner of his company, BUT the search function of the tree form always return an "access denied", so it's not possible to filter the partner list. The message is: Access Denied The requested operation cannot be completed due to security restrictions. Please contact your system administrator. (Document type: Partner, Operation: read) It's problably the "name_search" function in partner class who don't take care of access rule.
2013-03-12 20:57:51 Dawn Richardson bug added subscriber Dawn Richardson