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

Module: Mail Tests

Entity: mail.test.composer.source

Compute Method: _compute_email_from

Inputs Method Outputs
for source in self.filtered(lambda r: r.customer_id and not r.email_from):
            source.email_from = source.customer_id.email_formatted

Back to entity