TIP: You can type at any time to perform a new search.
Survey Conditional Questions
survey_conditional_question · OCA/survey
- Repository
- OCA/survey · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Warehouse Management
- Folder size
- 0.05 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/survey
- Last tracking update
- 2026-08-07 07:47:48
- Authors
- Odoo Community Association (OCA), ADHOC SA, Opener B.V., Creu Blanca
- Maintainers
- Odoo Community Association (OCA), ADHOC SA, Opener B.V., Creu Blanca
- Committers
- Enric Tobella, Weblate, OCA-git-bot, oca-ci
Code Analysis ⓘ
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
assets_frontend |
Survey Conditional Assets | ir.ui.view | qweb | Inherits survey.survey_assets |
question_container |
question_container | ir.ui.view | qweb | Inherits survey.question_container |
survey_fill_form |
survey_fill_form | ir.ui.view | qweb | Inherits survey.survey_fill_form |
survey_question_form |
Form view for survey conditional question | survey.question | form | Inherits survey.survey_question_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (4)
-
conditional_maximum_valueFloatcopy=Falsehelp='If the value is higher, it will not be shown' -
conditional_minimum_valueFloatcopy=Falsehelp='If the value is lower, it will not be shown' -
triggering_question_idMany2onedomain="[('survey_id', '=', survey_id),\n ('question_type', '!=', False), '|',\n ('sequence', '<', sequence),\n '&', ('sequence', '=', sequence), ('id', '<', id)]" -
triggering_question_typeSelectionrelated='triggering_question_id.question_type'string='Triggering question type'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
next_page(self, user_input, page_id, go_back=False)@api.modelSkip pages that only have hidden questions on them, except if its the last page or the first page (in which case there is a configuration error in the survey).
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
hiddenBooleanhelp="Indicate whether this input's question was hidden on condition of earlier questions in the survey."
-
save_lines(self, user_input_id, question, post, answer_tag)@api.modelSet anwers to hidden and wipe their contents -
update_hidden(self, user_input, question, hidden=True)@api.modelIf hidden, delete all preexisting values and replace by a dummy one marked as hidden. If not hidden, delete any preexisting value marked as hidden.