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

Module: VCP Management

Entity: vcp.request

Compute Method: _compute_status

Inputs Method Outputs
for record in self:
            if record.is_merged:
                record.status = "merged"
            elif record.closed_at:
                record.status = "closed"
            elif record.is_draft:
                record.status = "draft"
            else:
                record.status = "open"

Back to entity