OdooWiki OCA HUB

Survey answer generation

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

This module allows to prefill answers from one survey to another.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Link one survey to a follow-up survey so answers are prefilled automatically, and highlight where the respondent changed their answer between the two.

This module connects two surveys so that a follow-up survey is created and filled in automatically from the first one.

On a survey form you can choose a "next survey" in the questions section. On each question you can then pick the matching question in that next survey, and for choice questions you can map each possible answer to its counterpart.

When a respondent starts the first survey, a linked response for the next survey is created at the same time. As the respondent saves each answer, the same answer is written into the linked response, so the follow-up survey arrives already filled in. When the first survey is completed, the contact details (partner and email) are copied to the linked response.

On a response form you can see the linked response and the original response it came from. In the answers list, any line whose answer differs from the original is highlighted in red, and you can show columns with the difference and the original answer line. A counter of changed lines is also computed.

It touches the survey, question, question answer, response and response line records, and adds fields to the existing survey screens rather than new menus.

Depends on

survey

Required by other modules

Models and fields (5)
  • survey.survey · extends an existing modelnext_survey_id
  • survey.question · extends an existing modelnext_survey_id, next_survey_question_id
  • survey.user_input · extends an existing modelorigin_input_id, next_survey_input_id, diff_user_input_line_count
  • survey.question.answer · extends an existing modelnext_survey_question_id, next_survey_question_answer_id
  • survey.user_input.line · extends an existing modeldiff_with_origin, origin_input_line

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: 3 confirmed, 6 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 19.0

You can configure either a new or an existing survey.

  • Go to Surveys and choose an existing one or create it.
  • In the Options tab, Questions group, choose the Next Survey.

Now you'll have to configure the destination questions linked to this survey's questions.

  • Go to the Answers tab choose the linked question.
  • For simple/multiple choice qustions you'll have to link the answers as well.

For the module to work correctly, the survey may need to allow users to go back to the previous question.

Once the survey is configured, the users can fill them up as usual. The answers in the next survey will be prefilled according to the linked questions.

If the user changes any response in the next question, we can tell the difference in the backend: go to the participation and in the answers tree let the column Diff with origin show.

To access the survey using the segguestion data, use the following URL: survey/start/<access_token_from_survey>?answer_token=<access_token_from_answer>

No verified information in OCA: Installation.

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.