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

Module: Odoo MCA

Entity: odoo.repository.branch

Compute Method: _compute_name

View 18.0
Inputs Method Outputs
  • repository_id
  • repository_id.display_name
  • branch_id
  • branch_id.name
- for rec in self:
-             rec.name = f"{rec.repository_id.display_name}#{rec.branch_id.name}"
  • name

Back to entity