Here's the solution for openerp 7 Access Denied by record rules for operation: create, model: res.partner.
Previously error as below :
openerp.osv.orm: Access Denied by record rules for operation: create, uid: 12, model: res.partner
2013-02-07 06:11:30,381 10987 ERROR latestonair openerp.netsvc: Access Denied
The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
(Document type: Partner, Operation: create)
Traceback (most recent call last):
File "/livesource/openerp7/openerp/netsvc.py", line 289, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/livesource/openerp7/openerp/service/web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "/livesource/openerp7/openerp/osv/osv.py", line 169, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/livesource/openerp7/openerp/osv/osv.py", line 125, in wrapper
raise except_osv(inst.name, inst.value)
except_osv: (u'Access Denied', u'The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
SOLUTION : then you need to go "Record Rules", search "res.partner Company", then add your user group in it. see on pic :
..show all:.
.
Here's the solution for openerp 7 Access Denied by record rules for operation: create, model: res.partner.
Previously error as below :
openerp.osv.orm: Access Denied by record rules for operation: create, uid: 12, model: res.partner
2013-02-07 06:11:30,381 10987 ERROR latestonair openerp.netsvc: Access Denied
The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
(Document type: Partner, Operation: create)
Traceback (most recent call last):
File "/livesource/openerp7/openerp/netsvc.py", line 289, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/livesource/openerp7/openerp/service/web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "/livesource/openerp7/openerp/osv/osv.py", line 169, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/livesource/openerp7/openerp/osv/osv.py", line 125, in wrapper
raise except_osv(inst.name, inst.value)
except_osv: (u'Access Denied', u'The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
SOLUTION : then you need to go "Record Rules", search "res.partner Company", then add your user group in it. see on pic :
This problem still exist in straight install from the latest tarball in May 5, 2013.
ReplyDeleteThanks, friend.
@Will Gunadi : please check on your ACL, sometimes i add a custom ACL regarding to object (res.partner). Specify user for test.
ReplyDeleteThank you Febru, it worked for me!
ReplyDeleteThis problem still happening!
ReplyDeletethis is the solution! thanks!
It was very helpful.
ReplyDeleteActually i misunderstood, res.partner for res.partner.company.
Its clear from your screenshot.
Thankq so much
you wellcome
ReplyDelete