Repository
OCA/survey · module folder · Try on Runboat
Module version
1.0.0
Category
Marketing/Survey
Folder size
0.26 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/survey
Last tracking update
2026-07-15 13:24:13
Authors
Tecnativa, Odoo Community Association (OCA)
Maintainers
Tecnativa, Odoo Community Association (OCA)
Committers
OCA-git-bot, oca-ci, eduezerouali-tecnativa
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description
This module add Model selection field question type for attach on survey page.

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
question_model Survey Model selection Searchable Single Input ir.ui.view qweb New
survey_page_print survey_page_print ir.ui.view qweb Inherits survey.survey_page_print
survey_question_form survey.question.form.inherit survey.question form Inherits survey.survey_question_form
survey_question_model_inherit Survey: Inject model OWL ir.ui.view qweb Inherits survey.question_container
survey_user_input_line_view_form survey.usr_input.line.form.inherit survey.user_input.line form Inherits survey.survey_user_input_line_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (4)
  • question_domain Char
    string='Filter Domain'
  • question_model_id Many2one → ir.model
    comodel_name='ir.model' default=<expr> domain=<expr> ondelete='cascade' string='Applies to'
  • question_model_name Char
    related='question_model_id.model'
  • question_type Selection
    selection_add=[('model', 'Model selection')]
Public methods (1)
  • get_model_options(self)
    Return Model options filtered by the domain.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • answer_type Selection
    selection_add=[('model', 'Model selection')]
  • value_model Reference
    selection='_selection_target_model' string='Selection answer'
Public methods (0)

No public methods.