Skip to Content
Menu
This question has been flagged
when I try to add new user, I'm facing this error
Using Odoo 11 E , On ubuntu 16.04

Odoo Server Error
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 646, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 307, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 683, in dispatch
    result = self._call_function(**self.params)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 339, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 332, in checked_call
    result = self.endpoint(*a, **kw)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 927, in __call__
    return self.method(*args, **kw)
  File "/usr/lib/python3/dist-packages/odoo/http.py", line 512, in response_wrap
    response = f(*args, **kw)
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 924, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 916, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 687, in call_kw
    return call_kw_model(method, model, args, kwargs)
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 672, in call_kw_model
    result = method(recs, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/addons/sales_team/models/res_users.py", line 17, in create
    user = super(ResUsers, self).create(vals)
  File "/usr/lib/python3/dist-packages/odoo/addons/note/models/res_users.py", line 14, in create
    user = super(Users, self).create(values)
  File "/usr/lib/python3/dist-packages/odoo/addons/auth_signup/models/res_users.py", line 144, in create
    user = super(ResUsers, self).create(values)
  File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/res_users.py", line 57, in create
    user = super(Users, self).create(values)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/res/res_users.py", line 803, in create
    user = super(UsersView, self).create(values)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/res/res_users.py", line 649, in create
    return super(UsersImplied, self).create(values)
  File "/usr/lib/python3/dist-packages/odoo/addons/base/res/res_users.py", line 332, in create
    user = super(Users, self).create(vals)
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 3278, in create
    record = self.browse(self._create(old_vals))
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 3335, in _create
    parent_id = self.env[parent_model].create(parent_vals).id
  File "/usr/lib/python3/dist-packages/odoo/addons/base/res/res_partner.py", line 532, in create
    partner = super(Partner, self).create(vals)
  File "/usr/lib/python3/dist-packages/odoo/addons/mail/models/mail_thread.py", line 231, in create
    thread = super(MailThread, self).create(values)
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 3278, in create
    record = self.browse(self._create(old_vals))
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 3435, in _create
    self.recompute()
  File "/usr/lib/python3/dist-packages/odoo/models.py", line 4791, in recompute
    field, recs = self.env.get_todo()
  File "/usr/lib/python3/dist-packages/odoo/api.py", line 911, in get_todo
    field = min(self.all.todo, key=self.registry.field_sequence)
TypeError: unorderable types: NoneType() < NoneType()
Avatar
Discard

As you are using the Odoo enterprise edition ask the support from the odoo team and if you haven't done any customization so that the issue is of the odoo , then just report it.

Related Posts Replies Views Activity
2
Feb 24
13200
1
Dec 22
3863
2
Dec 22
12725
1
Nov 22
16381
2
Jun 22
4688