TIP: You can type at any time to perform a new search.

Security findings

Repository
odoo/odoo · module folder
Module version
0.1.0
Category
Sales/CRM
Folder size
0.45 MB
License
LGPL-3
Application
No
Auto-installable
Yes
Website
None
Last tracking update
2026-10-01 18:16:08
Authors
Odoo S.A.
Maintainers
Odoo S.A.
Committers
Raphael Collet, Odoo Translation Bot, Aurélien Warnon, Victor Feyens, Sébastien Theys, Julien Mougenot, std-odoo, Tiffany Chang (tic), Didier (did), Dylan Kiss (dyki), Alex Kühn, asno-odoo, Michaël Mattiello, Krzysztof Magusiak (krma), Giorgio Tocco (gito), jayp-odoo, Julien Launois (jula), Kevin Gerard (kege), Atovange, Farah (ahmfa), akth-odoo, Jean Schoenlaub, Elisabeth Dickinson (edi)
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
test_discuss_full, website_crm_livechat
Description
Create new lead with using /lead command in the channel

Code Analysis info_outline

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…