Odoo Help


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.


Odoo Task click error

Sanjin Šarić
on 4/30/15, 10:11 AM 1,154 views


Something went wrong with my server and I am getting this error when I click the task in the project:

Odoo Support


Odoo Server Error

Traceback (most recent call last):

File "/opt/odoo/openerp/http.py", line 530, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "/opt/odoo/openerp/http.py", line 567, in dispatch

result = self._call_function(**self.params)

File "/opt/odoo/openerp/http.py", line 303, 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 300, in checked_call

return self.endpoint(*a, **kw)

File "/opt/odoo/openerp/http.py", line 796, in __call__

return self.method(*args, **kw)

File "/opt/odoo/openerp/http.py", line 396, in response_wrap

response = f(*args, **kw)

File "/opt/odoo/addons/web/controllers/main.py", line 936, in call_kw

return self._call_kw(model, method, args, kwargs)

File "/opt/odoo/addons/web/controllers/main.py", line 928, in _call_kw

return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)

File "/opt/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/addons/project/project.py", line 846, in fields_view_get

res = super(task, self).fields_view_get(cr, uid, view_id, view_type, context, toolbar, submenu=submenu)

File "/opt/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/addons/mail/mail_thread.py", line 351, in fields_view_get

res = super(mail_thread, self).fields_view_get(cr, uid, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=submenu)

File "/opt/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/openerp/models.py", line 1544, in fields_view_get

xarch, xfields = View.postprocess_and_fields(cr, uid, self._name, etree.fromstring(result['arch']), view_id, context=ctx)

File "/opt/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 844, in postprocess_and_fields

self.raise_view_error(cr, user, message, view_id, context)

File "/opt/odoo/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/openerp/addons/base/ir/ir_ui_view.py", line 369, in raise_view_error

raise AttributeError(message)

AttributeError: Field `task_categ_id` does not exist

Error context:

View `project.task.form`

[view_id: 407, xml_id: project.view_task_form2, model: project.task, parent_id: n/a]

I would like somebody to give me a general idea how to debug problems like this. I am really new to odoo but I am learning really fast. I did some programming in python, but this error type is vague to me.

Even better if somebody knows what the problem is and how to solve it, I would be more than grateful.



| 5 4 7
Lodz, Poland

On 4/30/15, 10:29 AM

Probably your code is not clean. Field 'task_categ_id' not exists in original system but exists in your view definition. Upgrade your Odoo installation from http://nightly.odoo.com and then invoke the command line: 

su - odoo -s /bin/bash
/usr/bin/openerp-server -d YOUR_DATABASE -u all --stop-after-init --config="/etc/odoo/openerp-server.conf"

Sanjin Šarić
On 4/30/15, 10:43 AM


I did that. What is that command doing actually?

My installation of odoo is in /opt/odoo

From my understanding command requires installation to be in /usr/bin/odoo. Thats done by apt-get which i did.

But what happens with my odoo in opt? my odoo-server in init.d is configured to point to /opt/odo

Basically what I want to say is I don't know what apt-get install odoo does. I installed odoo manually through git and put it in opt/odoo


I removed my current installation at odoo. I installed it through apt-get. The problem is the same, although now the path to odoo has changed to:


The new code is one thing, the second is update the database. Command update all YOUR_DATABASE if server option is set .... -u all. See also command .... /usr/bin/openerp-server --help. Location /usr/lib/python2.7/dist-packages/ is correct and this should be.

on 4/30/15, 12:00 PM

I ended up reinstalling whole odoo, database was corrupted somehow. Although i did install new odoo your way, so that is ok now. Thanks!

Sanjin Šarić
on 5/1/15, 4:43 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)


Asked: 4/30/15, 10:11 AM
Seen: 1154 times
Last updated: 5/1/15, 4:42 AM