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

Module: Oca VCP

Entity: res.partner

Compute Method: _compute_github_main_login

Inputs Method Outputs
  • vcp_user_ids
for record in self:
            record.github_main_login = record.vcp_user_ids.filtered(
                "is_github_main_login"
            ).external_id

Back to entity