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

Module: Odoo Project Migration Data

Entity: odoo.project.module.migration

Compute Method: _compute_module_migration_id

Inputs Method Outputs
migration_model = self.env["odoo.module.branch.migration"]
for rec in self:
            rec.module_migration_id = migration_model.search(
                [
                    ("migration_path_id", "=", rec.migration_path_id.id),
                    ("module_branch_id", "=", rec.source_module_branch_id.id),
                ]
            )

Back to entity