Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 7 Odoo series since 8.0

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

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.69 MB
Module directory on disk
Code analysis 0 migration notes 5 models 4 views 0 HTTP endpoints

Description

Bridge module between Survey and CRM.
Enables the creation of a lead from a survey when the participant selects lead-generating answers.
An option on the suggested answers can be activated to make them lead-generating.

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 4

XML IDNameModelTypeStatus
survey_question_view_form survey.question.form.inherit.survey.crm survey.question form Inherits survey.survey_question_form
survey_survey_view_form survey.survey.view.form.inherit.survey.crm survey.survey form Inherits survey.survey_survey_view_form
survey_survey_view_kanban survey.survey.view.kanban.inherit.survey.crm survey.survey kanban Inherits survey.survey_survey_view_kanban
survey_user_input_view_form survey.user_input.view.form.inherit.survey.crm survey.user_input form Inherits survey.survey_user_input_view_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 5

New fields (2)
  • generate_lead Boolean
    compute='_compute_generate_lead' help='At least one of the question answers can generate leads.' args: 'Lead Generating'
  • survey_type Selection
    related='survey_id.survey_type'
Public methods (0)

No public methods.

New fields (1)
  • generate_lead Boolean
    help='Creates a lead when participants choose this answer' args: 'Lead creation'
Public methods (0)

No public methods.

New fields (3)
  • generate_lead Boolean
    compute='_compute_generate_lead' store='True' args: 'Lead Generating'
  • lead_count Integer
    compute='_compute_lead_count' help='Number of leads created by this survey' args: 'Leads'
  • team_id Many2one → crm.team
    index='btree_not_null' ondelete='set null' string='Assign Leads to' args: 'crm.team'
Public methods (2)
  • action_end_session(self)
    Checks if leads need to be created for live sessions (either custom or live_session)
  • action_survey_see_leads(self)
    Shows the leads created from the current survey

New fields (0)

No new fields.

Public methods (1)
  • get_survey_templates_data(self)
    @api.model

New fields (1)
  • lead_id Many2one → crm.lead
    ondelete='set null' args: 'crm.lead'
Public methods (1)
  • action_redirect_lead(self)
    Shows the lead associated, created from inputs

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…