Skip to Content
Menu
This question has been flagged
3 Replies
14537 Views

Traceback (most recent call last): File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\http.py", line 599, in _handle_exception File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\http.py", line 636, in dispatch File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\http.py", line 315, in _call_function File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\service\model.py", line 118, in wrapper File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\http.py", line 308, in checked_call File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\http.py", line 887, in __call__ File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\http.py", line 465, in response_wrap File "C:\Program Files (x86)\Odoo 9.0-20151105\server\openerp\addons\web\controllers\main.py", line 965, in call_kw File "C:\Program Files (x86)\Odoo 9.0-20151105\server\openerp\addons\web\controllers\main.py", line 957, in _call_kw File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\api.py", line 232, in wrapper File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\api.py", line 327, in old_api File "C:\Program Files (x86)\Odoo 9.0-20151105\server\openerp\addons\auditlog\models\rule.py", line 212, in create_full File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\api.py", line 230, in wrapper File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\api.py", line 463, in new_api File "C:\Program Files (x86)\Odoo 9.0-20151105\server\openerp\addons\project\project.py", line 647, in create File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\api.py", line 232, in wrapper File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\api.py", line 327, in old_api File "C:\Program Files (x86)\Odoo 9.0-20151105\server\openerp\addons\mail\models\mail_thread.py", line 242, in create File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\api.py", line 230, in wrapper File "C:\Program Files (x86)\Odoo 9.0-20151105\server\openerp\addons\mail\models\mail_thread.py", line 1939, in message_auto_subscribe File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\api.py", line 230, in wrapper File "C:\Program Files (x86)\Odoo 9.0-20151105\server\openerp\addons\mail\models\mail_thread.py", line 1787, in message_subscribe File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\api.py", line 230, in wrapper File "C:\Program Files (x86)\Odoo 9.0-20151105\server\openerp\addons\auditlog\models\rule.py", line 294, in write_full File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\api.py", line 230, in wrapper File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\models.py", line 3203, in read File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\api.py", line 230, in wrapper File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\models.py", line 3394, in _read_from_database File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\osv\fields.py", line 1489, in get File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\osv\fields.py", line 1561, in _related_read File "C:\Program Files (x86)\Odoo 9.0-20151105\server\.\openerp\models.py", line 5679, in __getitem__

KeyError: 'user_id'

Avatar
Discard

hard to tell just by this, it would be good if you tell us, what you were trying to do, & what went wrong

Hard to tell what you are trying to do, please copy and paste the code here.

FYI : http://stackoverflow.com/questions/10116518/im-getting-key-error-in-python

Best Answer

I just had a similar issue. It was the reference path in the One2many line - path was incorrect for the alternative table. 

Something like user_id=fields.One2many('incorrect field/path', .....)

Avatar
Discard
Related Posts Replies Views Activity
0
Nov 23
661
2
Apr 23
5812
6
Sep 21
22683
4
Apr 19
4082
1
Mar 15
16408