OdooWiki OCA HUB

Survey contacts generation for model selection

survey_contact_generation_model_selection folder_open OCA/survey open_in_new
Marketing/Survey License: AGPL-3

This module allows to generate new contacts from surveys answers with the type question model selection.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

When a survey question asks the respondent to pick a record (model selection), this module lets that answer be used to fill a matching contact field when a new contact is created from the survey.

This module links two existing features: generating contacts from survey answers and survey questions whose answer is a record chosen from a model. It is installed automatically when both features are present.

What changes for users:

  • On a survey question of the model-selection type, the list of contact fields you can map the answer to is now limited to fields on the contact that point to exactly the same model as the question, accept one or many records, are stored and are not read-only.
  • If you try to map the answer to a contact field that points to a different model, Odoo blocks the configuration with a clear error message naming the field, the question and the two models involved.
  • When a contact is created from the survey answers, the selected record(s) are written into the mapped contact field: a single record for a one-to-one field, or the full set of selected records for a many-to-many field.

It touches the survey question configuration (survey.question) and the survey answer processing (survey.user_input). No new menus or screens are added; the behaviour appears inside the existing survey configuration and contact-generation flow.

Models and fields (2)
  • survey.question · extends an existing model
  • survey.user_input · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 19.0

if the survey is properly configured, once it is submited by an anonomous user, a new contact is create or an existing one is linked.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.