Skip to Content
Menu
This question has been flagged
1 Reply
2666 Views


when i create a user from setting, it show a odoo service error as following.


RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/Users/xiaochengshu/hardcore_projects/odoo_source/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/Users/xiaochengshu/hardcore_projects/odoo_source/odoo/odoo/http.py", line 687, in dispatch
result = self._call_function(**self.params)
File "/Users/xiaochengshu/hardcore_projects/odoo_source/odoo/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/Users/xiaochengshu/hardcore_projects/odoo_source/odoo/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/Users/xiaochengshu/hardcore_projects/odoo_source/odoo/odoo/http.py", line 348, in checked_call
result = self.endpoint(*a, **kw)
File "/Users/xiaochengshu/hardcore_projects/odoo_source/odoo/odoo/http.py", line 916, in __call__
return self.method(*args, **kw)
File "/Users/xiaochengshu/hardcore_projects/odoo_source/odoo/odoo/http.py", line 535, in response_wrap
response = f(*args, **kw)
File "/Users/xiaochengshu/hardcore_projects/odoo_source/odoo/addons/web/controllers/main.py", line 1343, in call_kw
return self._call_kw(model, method, args, kwargs)
File "/Users/xiaochengshu/hardcore_projects/odoo_source/odoo/addons/web/controllers/main.py", line 1335, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/Users/xiaochengshu/hardcore_projects/odoo_source/odoo/odoo/api.py", line 464, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/Users/xiaochengshu/hardcore_projects/odoo_source/odoo/odoo/api.py", line 451, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/Users/xiaochengshu/hardcore_projects/odoo_source/odoo/odoo/addons/base/models/res_users.py", line 1467, in read
res = super(UsersView, self).read(other_fields, load=load)
File "/Users/xiaochengshu/hardcore_projects/odoo_source/odoo/odoo/addons/base/models/res_users.py", line 533, in read
return super(Users, self).read(fields=fields, load=load)
File "/Users/xiaochengshu/hardcore_projects/odoo_source/odoo/odoo/models.py", line 3216, in read
raise ValueError("Invalid field %r on model %r" % (name, self._name))
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/Users/xiaochengshu/hardcore_projects/odoo_source/odoo/odoo/http.py", line 643, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/Users/xiaochengshu/hardcore_projects/odoo_source/odoo/odoo/http.py", line 301, in _handle_exception
raise exception.with_traceback(None) from new_cause
ValueError: Invalid field 'odoobot_state' on model 'res.users'


have no idea why this happen. 

my environment :

odoo_version: Odoo 15.0 (Community Edition)

install app:  Sales, Invoicing, Employees, Discuss, Contacts


and there is only one user (Administrator) in my database


please help, thanks



Avatar
Discard
Best Answer

HI,

Can you install/upgrade the module with technical name: mail_bot and see if the issue resolves or not.

Thanks

Avatar
Discard
Author

thanks!! it work perfectly after update main_bot app.
Can I ask more detail about why this happen?

Yes it worked properly. thanks!

Related Posts Replies Views Activity
1
Jun 24
444
1
Mar 15
4101
1
Mar 15
3527
1
Mar 15
6503
1
Mar 15
6834