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.module.branch

Compute Method: _compute_name

View 18.0
Inputs Method Outputs
  • repository_branch_id
  • repository_branch_id.name
  • module_id
  • module_id.name
+ for rec in self:
+             rec.name = f"{rec.repository_branch_id.name or '?'} - {rec.module_id.name}"
  • name

Back to entity