Dear all,
I have several salesperson in my Odoo (own server, VPS).
Everyone can create meetings and log every detail of the meeting, but for a few days now only *one* of them is facing this error , whereas they all have the same access rights (their profiles where duplicated) :
- when creating a meeting, this is the error raised (my translation from french) :
The operation can't be done due to the security policy. Please contact the system admin. (Type of document : Attendee information, Operation create).
- when modifying a meeting, no problem.
Here is the server log. Any ideas ?
_________________
2015-07-08 08:22:12,383 394 ERROR baseprod openerp.http: Exception during JSON request handling.
Traceback (most recent call last):
File "/opt/odoo/openerp/http.py", line 500, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/openerp/http.py", line 517, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/openerp/http.py", line 283, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/openerp/service/model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/openerp/http.py", line 280, in checked_call
return self.endpoint(*a, **kw)
File "/opt/odoo/openerp/http.py", line 733, in __call__
return self.method(*args, **kw)
File "/opt/odoo/openerp/http.py", line 376, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/addons/web/controllers/main.py", line 944, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/opt/odoo/addons/web/controllers/main.py", line 936, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/opt/odoo/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/addons/crm/calendar_event.py", line 36, in create
res = super(calendar_event, self).create(cr, uid, vals, context=context)
File "/opt/odoo/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/addons/calendar/calendar.py", line 1589, in create
self.create_attendees(cr, uid, [res], context=context)
File "/opt/odoo/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/addons/calendar/calendar.py", line 1075, in create_attendees
att_id = self.pool['calendar.attendee'].create(cr, uid, values, context=context)
File "/opt/odoo/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/addons/calendar/calendar.py", line 285, in create
res = super(calendar_attendee, self).create(cr, uid, vals, context=context)
File "/opt/odoo/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/openerp/api.py", line 332, in old_api
result = method(recs, *args, **kwargs)
File "/opt/odoo/openerp/models.py", line 3960, in create
record = self.browse(self._create(old_vals))
File "/opt/odoo/openerp/api.py", line 235, in wrapper
return new_api(self, *args, **kwargs)
File "/opt/odoo/openerp/api.py", line 464, in new_api
result = method(self._model, cr, uid, *args, **kwargs)
File "/opt/odoo/openerp/models.py", line 4173, in _create
self.check_access_rule(cr, user, [id_new], 'create', context=context)
File "/opt/odoo/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/openerp/models.py", line 3441, in check_access_rule
self._check_record_rules_result_count(cr, uid, sub_ids, returned_ids, operation, context=context)
File "/opt/odoo/openerp/api.py", line 237, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/openerp/models.py", line 3390, in _check_record_rules_result_count
(self._description, operation))
except_orm: (u'Acc\xe8s refus\xe9', u"L'op\xe9ration demand\xe9e ne peut pas \xeatre effectu\xe9e en raison de la politique de s\xe9curit\xe9. Veuillez contacter votre administrateur syst\xe8me.(Type de document: Attendee information, Op\xe9ration: create)")