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

Module: Website Membership Gamification

Entity: res.partner

Compute Method: _compute_has_related_users

Inputs Method Outputs
  • user_ids
for sel in self:
            sel.has_related_users = any(a.active for a in sel.user_ids)

Back to entity