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

Module: Surveys

Entity: survey.survey

Compute Method: _compute_has_conditional_questions

Inputs Method Outputs
for survey in self:
            survey.has_conditional_questions = any(question.triggering_answer_ids for question in survey.question_and_page_ids)

Back to entity