Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Two-Factor Authentication (TOTP)

Entity: res.users

Compute Method: _compute_totp_enabled

Inputs Method Outputs
for r, v in zip(self, self.sudo()):
            r.totp_enabled = bool(v.totp_secret)

Back to entity