Odoo Help


Odoo 9 : error while creating Calendar.event on : "res = real_data[real_id].copy()"

Valentin Thirion
on 7/4/16, 6:37 PM 937 views

Repo: https://github.com/abakus-it/project_task_event_calendar
Odoo v9.0

Hi everyone,

I'm getting crazy with this traceback: 

 File "/opt/odoo/enterprise-9.0/web/controllers/main.py", line 899, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/addons/calendar/calendar.py", line 312, in get_attendee_detail
for attendee in meeting.attendee_ids:
File "/usr/lib/python2.7/dist-packages/openerp/fields.py", line 829, in __get__
File "/usr/lib/python2.7/dist-packages/openerp/fields.py", line 927, in determine_value
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 248, in wrapper
return new_api(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 3298, in _prefetch_field
result = records.read([f.name for f in fs], load='_classic_write')
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 248, in wrapper
return new_api(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 574, in new_api
result = method(self._model, cr, uid, self.ids, *args, **old_kwargs)
File "/usr/lib/python2.7/dist-packages/openerp/addons/calendar/calendar.py", line 1694, in read
res = real_data[real_id].copy()
KeyError: 40

It happens when I click on "Create Event" on my wizard, and I can not figure out why!?

Any help?


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 7/4/16, 6:37 PM
Seen: 937 times
Last updated: 7/4/16, 9:20 PM