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_project_module_id
| Inputs | Method | Outputs |
|---|---|---|
|
+ for rec in self: + project_module = self.env["odoo.project.module"].search( + [ + ("odoo_project_id", "=", rec.odoo_project_id.id), + ("module_branch_id", "=", rec.source_module_branch_id.id), + ], + limit=1, + ) + rec.project_module_id = project_module |
|
