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

Module: Odoo Repository Migration Data

Entity: odoo.migration.path

Compute Method: _compute_name

View 18.0
Inputs Method Outputs
  • source_branch_id
  • source_branch_id.name
  • target_branch_id
  • target_branch_id.name
- for rec in self:
-             rec.name = f"{rec.source_branch_id.name} -> {rec.target_branch_id.name}"
  • name

Back to entity