Skip to content
Health
95/100
good
  • Security25/25
    No findings
  • Activity25/25
    Human commit this month
  • Required by20/25
    2 modules depend on it
  • Maturity25/25
    In 10 Odoo series since 11.0

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

Security findings
Grave / minor (static analysis)
Required by
2
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.45 MB
Module directory on disk
Code analysis 0 migration notes 6 models 4 views 0 HTTP endpoints

Description

Create new lead with using /lead command in the channel

Dependencies

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
test_discuss_full, website_crm_livechat

Code analysis

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

Views touched 4

XML IDNameModelTypeStatus
chatbot_script_step_view_form chatbot.script.step.view.form.inherit.crm.livechat chatbot.script.step form Inherits im_livechat.chatbot_script_step_view_form
chatbot_script_view_form chatbot.script.view.form.inherit.crm.livechat chatbot.script form Inherits im_livechat.chatbot_script_view_form
crm_lead_view_form crm.lead.view.form.inherit.crm.livechat crm.lead form Inherits crm.crm_lead_view_form
discuss_channel_view_form discuss.channel.view.form.inherit.crm.livechat discuss.channel form Inherits mail.discuss_channel_view_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 6

New fields (1)
  • lead_count Integer
    compute='_compute_lead_count' string='Generated Lead Count'
Public methods (1)
  • action_view_leads(self)

New fields (2)
  • crm_team_id Many2one → crm.team
    help="Used in combination with 'create_lead' step type in order to automatically assign the created lead/opportunity to the defined team" index='btree_not_null' ondelete='set null' string='Sales Team' args: 'crm.team'
  • step_type Selection
    ondelete={'create_lead': 'cascade'} selection_add=[('create_lead', 'Create Lead')]
Public methods (0)

No public methods.

New fields (1)
  • origin_channel_id Many2one → discuss.channel
    index='btree_not_null' readonly=True args: 'discuss.channel', 'Live chat from which the lead was created'
Public methods (3)
  • action_open_livechat(self)
  • create(self, vals_list)
    @api.model_create_multi
  • write(self, vals)

New fields (2)
  • has_crm_lead Boolean
    compute='_compute_has_crm_lead' store=True
  • lead_ids One2many → crm.lead
    groups='sales_team.group_sale_salesman' help='The channel becomes accessible to sales users when leads are set.' string='Leads' args: 'crm.lead', 'origin_channel_id'
Public methods (1)
  • execute_command_lead(self, **kwargs)

New fields (1)
  • leads_created Integer
    aggregator='sum' readonly=True args: 'Leads created'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…