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

Module: Purchase Work Acceptance Evaluation

Entity: work.acceptance.evaluation.result

Compute Method: _compute_editable

Inputs Method Outputs
for rec in self:
            rec.editable = (
                True
                if not rec.case_id.state_required
                else rec.wa_id.state == rec.case_id.state_required
            )

Back to entity