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

Module: Auth Api Key

Entity: auth.api.key

Compute Method: _compute_active

Inputs Method Outputs
option_disable_key = self.user_id.company_id.archived_user_disable_auth_api_key
for record in self:
            if option_disable_key:
                record.active = record.user_id.active

Back to entity