Survey binary question type
survey_question_type_binary · OCA/survey
Health
67/100
fair
-
Security25/25No findings
-
Activity12/25Last human commit 24 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
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.07 MB
Module directory on disk
Code analysis
0 migration notes
4 models
6 views
0 HTTP endpoints
Description
This module add binary field question type for attach on survey page.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
question_binary |
Question: Binary | ir.ui.view | qweb | New |
question_conainer_inh_type_binary |
question_conainer_inh_type_binary | ir.ui.view | qweb | Inherits survey.question_container |
survey_page_print |
survey_page_print | ir.ui.view | qweb | Inherits survey.survey_page_print |
survey_question_form_inherit_question_type_binary |
survey.question.view.form.inherit | survey.question | form | Inherits survey.survey_question_form |
survey_user_input_line_view_form_inherit_question_type_binary |
survey.user_input.line.view.form.inherit | survey.user_input.line | form | Inherits survey.survey_user_input_line_view_form |
view_survey_user_input_line_binary_form |
survey.user.input.line.binary.form | survey.user_input.line_binary | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (3)
-
allowed_filemimetypesCharhelp='File mime types separated by commas (E.g: image/png,image/jpeg). Leave empty to allow any value.' -
max_filesizeIntegerdefault='52428800'help='Indicate maximum file size in bytes (Default 50MB). Leave empty to allow any value.' -
question_typeSelectionselection_add=[('binary', 'Binary'), ('multi_binary', 'Multiple: Binary')]
-
validate_binary(self, answers) -
validate_question(self, answer, comment=None)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
answer_binary_idsOne2many → survey.user_input.line_binarycomodel_name='survey.user_input.line_binary'inverse_name='input_line_id'readonly=True -
answer_typeSelectionselection_add=[('binary', 'Binary'), ('multi_binary', 'Multi: Binary')]
No public methods.
New fields (6)
-
filenameCharreadonly=Truerequired=True -
input_line_idMany2one → survey.user_input.linecomodel_name='survey.user_input.line'ondelete='cascade'readonly=Truerequired=True -
is_binary_imageBooleancompute='_compute_binary_data'readonly=Truestore=True -
value_binaryBinaryreadonly=Truerequired=True -
value_binary_sizeIntegercompute='_compute_binary_data'readonly=Truestore=True -
value_binary_typeCharcompute='_compute_binary_data'readonly=Truestore=True
No public methods.
Loading…
Loading…
Loading…
Loading…