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

Module: Auth Timeout

Entity: res.groups

Compute Method: _compute_lock_timeout_inactivity_2fa_selection

Inputs Method Outputs
for group in self:
            group.lock_timeout_inactivity_2fa_selection = (
                "with_2fa" if group.lock_timeout_inactivity_mfa else "without_2fa"
            )

Back to entity