Repository
OCA/survey · module folder · Try on Runboat
Module version
Category
Marketing/Survey
Folder size
0.09 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/survey
Last tracking update
2026-08-11 17:04:13
Authors
Odoo Community Association (OCA), Tecnativa
Maintainers
Odoo Community Association (OCA), Tecnativa
Committers
pilarvargas-tecnativa, Weblate, OCA-git-bot, oca-ci, eduezerouali-tecnativa
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
survey_contact_generation_model_selection, survey_next_survey_update_partner
Description
This module allows to generate new contacts from surveys answers.

Code Analysis

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…

Status
Open migration PR — not merged yet for this version
CI status
green — ready to merge
Open since
10 days ago
Last activity
0 days ago
Repository
OCA/survey
Pull request
[19.0][MIG] survey_contact_generation: Migration to version 19.0 (#244)