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

Module: Signup

Entity: res.users

Compute Method: _compute_state

Inputs Method Outputs
  • login_date
for user in self:
            user.state = 'active' if user.login_date else 'new'

Back to entity