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: mail.template
Compute Method: _compute_has_mail_server
| Inputs | Method | Outputs |
|---|---|---|
|
|
+ has_mail_server = bool(self.env['ir.mail_server'].sudo().search([], limit=1)) + for template in self: + template.has_mail_server = has_mail_server |
|
