Logging in for the first time with LDAP credentials fails with Server Error. Here's the trace:
Traceback (most recent call last):
File "/app/code/odoo/api.py", line 886, in get
return field_cache[record._ids[0]]
KeyError: 7
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/code/odoo/fields.py", line 1057, in __get__
value = env.cache.get(record, self)
File "/app/code/odoo/api.py", line 889, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: 'res.users(7,).totp_enabled'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/code/odoo/api.py", line 886, in get
return field_cache[record._ids[0]]
KeyError: 7
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/code/odoo/fields.py", line 1057, in __get__
value = env.cache.get(record, self)
File "/app/code/odoo/api.py", line 889, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: 'res.users(7,).totp_secret'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/code/odoo/fields.py", line 1106, in __get__
self.compute_value(recs)
File "/app/code/odoo/fields.py", line 1265, in compute_value
records._compute_field_value(self)
File "/app/code/odoo/models.py", line 4255, in _compute_field_value
getattr(self, field.compute)()
File "/app/code/addons/auth_totp/models/res_users.py", line 48, in _compute_totp_enabled
r.totp_enabled = bool(v.totp_secret)
File "/app/code/odoo/fields.py", line 1087, in __get__
raise MissingError("\n".join([
odoo.exceptions.MissingError: Record does not exist or has been deleted.
(Record: res.users(7,), User: 7)
Logging in for the first time with LDAP credentials fails with Server Error. Here's the trace: