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 :