Odoo Help

Welcome!

This community 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.

0

How to resolve the KeyError: 'user_id'?

By
Hamza Rana
on 11/15/16, 4:59 PM 85 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'

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

deep
on 11/16/16, 1:35 AM

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

Wilbert Tan
on 11/16/16, 2:39 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/15/16, 4:59 PM
Seen: 85 times
Last updated: 11/16/16, 1:14 AM