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.module

Compute Method: _compute_to_upgrade

Inputs Method Outputs
for rec in self:
            rec.to_upgrade = False
            installed_version = rec.installed_version or rec.version
            if installed_version and rec.version:
                rec.to_upgrade = v(installed_version) < v(rec.version)

Back to entity