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

Module: Upgrade Analysis

Entity: ir.module.module

Compute Method: _compute_is_odoo_module

Inputs Method Outputs
  • name
for module in self:
            module_path = get_module_path(module.name)
            if not module_path:
                module.is_odoo_module = False
                continue
            absolute_repo_path = os.path.split(module_path)[0]
            x, relative_repo_path = os.path.split(absolute_repo_path)
            module.is_odoo_module = relative_repo_path == "addons"

Back to entity