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

Module: OAuth2 Authentication

Entity: res.users

Compute Method: _compute_has_oauth_access_token

Inputs Method Outputs
for user in self:
            user.has_oauth_access_token = bool(user.sudo().oauth_access_token)

Back to entity