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

Module: Oca Search Engine

Entity: vcp.odoo.module.version

Compute Method: _compute_github_url

Inputs Method Outputs
  • repository_branch_id
  • repository_branch_id.repository_id
  • repository_branch_id.branch_id
  • repository_branch_id.branch_id.name
  • module_id
  • module_id.name
for record in self:
            record.github_url = "/".join(
                [
                    record.repository_branch_id.repository_id._get_repository_url(),
                    "tree",
                    record.repository_branch_id.branch_id.name,
                    record.module_id.name,
                ]
            )

Back to entity