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

Module: CRM

Entity: crm.lead

Compute Method: _compute_email_state

Inputs Method Outputs
for lead in self:
            email_state = False
            if lead.email_from:
                email_state = 'correct' if bool(lead.email_normalized) else 'incorrect'
            lead.email_state = email_state

Back to entity