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_sync_avatar

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

Back to entity