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

Module: Forum

Entity: forum.post

Compute Method: _compute_has_validated_answer

Inputs Method Outputs
for post in self:
            post.has_validated_answer = any(answer.is_correct for answer in post.child_ids)

Back to entity