Skip to main content
Odoo Community Association

Survey contacts generation

Beta License: AGPL-3 OCA/survey Translate me on Weblate Try me on Runboat

This module allows to generate new contacts from surveys answers.

Table of contents

Configuration

To configure the contact generation:

  1. Go to the configured survey.

  2. In the Contact section of the Options tab, set Generate Contact on, if you want contacts to be generated from the answers to this survey.

  3. If you want the generated to have a parent company, set the option Create Parent Contact and link the company_name field to a question in the survey.

  4. In each question associated with a future new contact, specify the corresponding contact field. To do this, go to the ‘Options’ tab, then navigate to the ‘Contact’ group, and select the ‘Contact field’ field.

To generate a hierarchy of contacts out of a single survey:

  1. A question mapped to the Name contact field opens a contact of its own. Any other question fills in a field of the contact opened by its Node.

  2. In such a question, set Node to the question opening the contact it hangs from. Leave it empty and its answers will belong to the main generated contact.

  3. Contacts typed as Contact share their address with their parent, so set Contact address type to Other address in the questions opening a contact that holds an address of its own.

For instance, this survey generates a company, two of its workcenters with their own address, and an employee hanging from each workcenter:

Question

Contact field

Node

Address type

Company name

name

Workcenter 1

name

Company name

Other address

Workcenter 1 street

street

Workcenter 1

Workcenter 1 employee

name

Workcenter 1

Workcenter 2

name

Company name

Other address

Workcenter 2 street

street

Workcenter 2

Workcenter 2 employee

name

Workcenter 2

A node whose name goes unanswered generates no contact, and whatever hangs from it hangs from its own node instead.

Usage

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.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Tecnativa

Contributors

  • Tecnativa

    • David Vidal

    • Ernesto Tejeda

    • Stefan Ungureanu

    • Pilar Vargas

    • Eduardo Ezerouali

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

pilarvargas-tecnativa

This module is part of the OCA/survey project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Release files for odoo-addon-survey-contact-generation 17.0.1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-survey-contact-generation 17.0.1.1.0
File Interpreter ABI Platform
odoo_addon_survey_contact_generation-17.0.1.1.0-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_survey_contact_generation-17.0.1.1.0-py3-none-any.whl

Download URL odoo_addon_survey_contact_generation-17.0.1.1.0-py3-none-any.whl
Size 39.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eafc35a3045c9121c7421d71450624410cb9d81477d2519f909d0258de6cf1ec
BLAKE2b-256 checksum
How to use checksums
1ed81d4a2d48163ee1ca25e01f596115267eb75514db4f44f096c747911b1301
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page