Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: CRM Livechat

Entity: discuss.channel

Compute Method: _compute_has_crm_lead

View 20.0
Inputs Method Outputs
  • lead_ids
+ for channel in self:
+             channel.has_crm_lead = bool(channel.lead_ids)
  • has_crm_lead

Back to entity