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.module.branch.timeline
Compute Method: _compute_project_migration_ids
| Inputs | Method | Outputs |
|---|---|---|
|
+ for rec in self: + impacted_modules = rec._get_all_impacted_modules() + rec.project_migration_ids = ( + self.env["odoo.project.module.migration"] + .search( + [ + ( + "migration_path_id.target_branch_id.sequence", + ">=", + rec.odoo_version_id.sequence, + ), + "|", + "|", + ("module_id", "in", impacted_modules.ids), + ("renamed_to_module_id", "in", impacted_modules.ids), + ("replaced_by_module_id", "in", impacted_modules.ids), + ] + ) + .sudo() + ) |
|
