Survey model selection question type
survey_question_type_model_selection · OCA/survey
Health
82/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by20/252 modules depend on it
-
Maturity12/25In 2 Odoo series since 17.0
Heuristic over the facts below, not an audit · How it's computed
Required by
2
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.26 MB
Module directory on disk
Code analysis
0 migration notes
3 models
5 views
0 HTTP endpoints
Description
This module add Model selection field question type for attach on survey page.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- survey_contact_generation_model_selection, survey_crm_generation_model_selection
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_domainCharstring='Filter Domain' -
question_model_idMany2one → ir.modelcomodel_name='ir.model'default=<expr>domain=<expr>ondelete='cascade'string='Applies to' -
question_model_nameCharrelated='question_model_id.model' -
question_typeSelectionselection_add=[('model', 'Model selection')]
-
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_typeSelectionselection_add=[('model', 'Model selection')] -
value_modelReferenceselection='_selection_target_model'string='Selection answer'
No public methods.
Loading…