Survey contacts generation
survey_contact_generation · OCA/survey
Health
95/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 3 months ago
-
Required by20/252 modules depend on it
-
Maturity25/25In 5 Odoo series since 13.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.1 MB
Module directory on disk
Code analysis
0 migration notes
5 models
2 views
0 HTTP endpoints
Description
This module allows to generate new contacts from surveys answers.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- survey_contact_generation_model_selection, survey_next_survey_update_partner
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
survey_form |
survey.survey | form | Inherits survey.survey_survey_view_form | |
survey_question_form |
survey.question | form | Inherits survey.survey_question_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 5
New fields (1)
-
generating_survey_user_input_idMany2one → survey.user_inputcomodel_name='survey.user_input'copy=Falsereadonly=True
No public methods.
New fields (5)
-
allowed_partner_field_domainBinarycompute='_compute_allowed_partner_field_domain' -
res_partner_fieldMany2one → ir.model.fieldscomodel_name='ir.model.fields'string='Contact field' -
res_partner_field_nameCharrelated='res_partner_field.name' -
res_partner_typeSelectionhelp='Address type of the contact this question opens. Contacts share their address with their parent, so a node holding an address of its own needs a different type.'selection=<expr>string='Contact address type' -
survey_question_node_idMany2one → survey.questioncomodel_name='survey.question'help='Question opening the contact this one relates to. A question mapped to the name opens a contact of its own, and hangs it from the contact of this node. Any other question fills in a field of the contact this node opened.'string='Node'
No public methods.
New fields (2)
-
res_partner_fieldMany2onerelated='question_id.res_partner_field' -
res_partner_field_resource_refReferenceselection='_selection_res_partner_field_resource_ref'string='Contact field value'
-
default_get(self, fields)@api.model
New fields (2)
-
create_parent_contactBooleanhelp='Set the company_name in a question and a parent contact will be created to hold the generated one' -
generate_contactBooleanhelp='Generate contacts for anonymous survey users'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…