Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
2270 Переглядів
i got this error when open setting , wwhat should i do, ty so much
Odoo Server Error
Traceback (most recent call last):
  File "E:\vs\py\odoo-14.0\odoo-14.0\odoo\addons\base\models\ir_http.py", line 237, in _dispatch
    result = request.dispatch()
  File "E:\vs\py\odoo-14.0\odoo-14.0\odoo\http.py", line 696, in dispatch
    result = self._call_function(**self.params)
  File "E:\vs\py\odoo-14.0\odoo-14.0\odoo\http.py", line 370, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "E:\vs\py\odoo-14.0\odoo-14.0\odoo\service\model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "E:\vs\py\odoo-14.0\odoo-14.0\odoo\http.py", line 358, in checked_call
    result = self.endpoint(*a, **kw)
  File "E:\vs\py\odoo-14.0\odoo-14.0\odoo\http.py", line 919, in __call__
    return self.method(*args, **kw)
  File "E:\vs\py\odoo-14.0\odoo-14.0\odoo\http.py", line 544, in response_wrap
    response = f(*args, **kw)
  File "e:\vs\py\odoo-14.0\odoo-14.0\addons\web\controllers\main.py", line 1328, in search_read
    return self.do_search_read(model, fields, offset, limit, domain, sort)
  File "e:\vs\py\odoo-14.0\odoo-14.0\addons\web\controllers\main.py", line 1347, in do_search_read
    return Model.web_search_read(domain, fields, offset=offset, limit=limit, order=sort)
  File "e:\vs\py\odoo-14.0\odoo-14.0\addons\web\models\models.py", line 62, in web_search_read
    records = self.search_read(domain, fields, offset=offset, limit=limit, order=order)
  File "E:\vs\py\odoo-14.0\odoo-14.0\odoo\models.py", line 4872, in search_read
    result = records.read(fields)
  File "E:\vs\py\odoo-14.0\odoo-14.0\odoo\addons\base\models\res_users.py", line 1423, in read
    res = super(UsersView, self).read(other_fields, load=load)
  File "E:\vs\py\odoo-14.0\odoo-14.0\odoo\addons\base\models\res_users.py", line 524, in read
    return super(Users, self).read(fields=fields, load=load)
  File "E:\vs\py\odoo-14.0\odoo-14.0\odoo\models.py", line 3012, 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 "E:\vs\py\odoo-14.0\odoo-14.0\odoo\http.py", line 652, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "E:\vs\py\odoo-14.0\odoo-14.0\odoo\http.py", line 317, in _handle_exception
    raise exception.with_traceback(None) from new_cause
ValueError: Invalid field 'totp_enabled' on model 'res.users'


Аватар
Відмінити
Автор

thanks niyas i solved it

Найкраща відповідь

Hi,

Just install or upgrade the auth_totp module in your database and see if it resolves the issue.

Thanks

Аватар
Відмінити