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

Module: Vcp Odoo

Entity: res.partner

Compute Method: _compute_modules_maintained_count

Inputs Method Outputs
  • id
for record in self:
            record.modules_maintained_count = self.env["vcp.odoo.module"].search_count(
                [("version_ids.maintainer_ids.partner_id", "=", record.id)],
            )

Back to entity