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

Compute Method: _compute_moved_to_generic

View 18.0
Inputs Method Outputs
  • repository_id
  • repository_id.specific
  • target_module_branch_id
  • target_module_branch_id.repository_id
  • target_module_branch_id.repository_id.specific
+ for rec in self:
+             rec.moved_to_generic = (
+                 rec.repository_id.specific
+                 and rec.target_module_branch_id.repository_id
+                 and not rec.target_module_branch_id.repository_id.specific
+             )
  • moved_to_generic

Back to entity