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

Module: Mass Mail Tests

Entity: mailing.test.customer

Compute Method: _compute_email_from

Inputs Method Outputs
for mailing in self.filtered(lambda rec: not rec.email_from and rec.customer_id):
            mailing.email_from = mailing.customer_id.email

Back to entity