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

Entity: odoo.project

Compute Method: _compute_module_not_installed_ids

View 18.0
Inputs Method Outputs
  • repository_branch_id
  • repository_branch_id.module_ids
  • repository_branch_id.module_ids.ids
  • project_module_ids
  • project_module_ids.module_branch_id
  • project_module_ids.module_branch_id.ids
- for rec in self:
-             all_module_ids = set(rec.repository_branch_id.module_ids.ids)
-             installed_module_ids = set(rec.project_module_ids.module_branch_id.ids)
-             rec.module_not_installed_ids = list(all_module_ids - installed_module_ids)
  • module_not_installed_ids

Back to entity