Skip to content
Health
95/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 3 months ago
  • Required by20/25
    2 modules depend on it
  • Maturity25/25
    In 5 Odoo series since 13.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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 IDNameModelTypeStatus
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_id Many2one → survey.user_input
    comodel_name='survey.user_input' copy=False readonly=True
Public methods (0)

No public methods.

New fields (5)
  • allowed_partner_field_domain Binary
    compute='_compute_allowed_partner_field_domain'
  • res_partner_field Many2one → ir.model.fields
    comodel_name='ir.model.fields' string='Contact field'
  • res_partner_field_name Char
    related='res_partner_field.name'
  • res_partner_type Selection
    help='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_id Many2one → survey.question
    comodel_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'
Public methods (0)

No public methods.

New fields (2)
  • res_partner_field Many2one
    related='question_id.res_partner_field'
  • res_partner_field_resource_ref Reference
    selection='_selection_res_partner_field_resource_ref' string='Contact field value'
Public methods (1)
  • default_get(self, fields)
    @api.model

New fields (2)
  • create_parent_contact Boolean
    help='Set the company_name in a question and a parent contact will be created to hold the generated one'
  • generate_contact Boolean
    help='Generate contacts for anonymous survey users'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…