The requested operation cannot be completed due to security restrictions
02:40 23 Mar 2015

I have created new add-on as like as survey add-on. Module consist 3 level of groups,

  1. Head Manager(admin)
  2. Manager
  3. User

If i am logged in as a manager and print the report, i am getting below warning,

"AccessError: ('AccessError', u'The requested operation cannot be completed due to security restrictions.
Please contact your system administrator.\n\n(Document type: res.partner, Operation: read)') "

My rules are:

Manager:


Custom Survey  Manager





Survey Manager access rights

[(1, '=', 1)]






Partner Form Security:


        Access to the manager to list related partners
        
        [('create_uid', '=', user.id)]            
        
    

If the manager is logged-in, i would like to list the partner who is created by the current manager. That's why i added the partner rule.

How to solve this issue?

security odoo