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

Module: Discuss

Entity: res.company

Compute Method: _compute_bounce

Inputs Method Outputs
self.bounce_email = ''
self.bounce_formatted = ''
for company in self.filtered('alias_domain_id'):
            bounce_email = company.alias_domain_id.bounce_email
            company.bounce_email = bounce_email
            company.bounce_formatted = tools.formataddr((company.name, bounce_email))

Back to entity