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_catchall

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

Back to entity