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_date_open

Inputs Method Outputs
for lead in self:
            if not lead.date_open and lead.user_id:
                lead.date_open = self.env.cr.now()

Back to entity