Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Events Organization
Entity: event.mail
Compute Method: _compute_template_model_id
| Inputs | Method | Outputs |
|---|---|---|
|
- mail_model = self.env['ir.model']._get('mail.template') - for mail in self: - mail.template_model_id = mail_model if mail.notification_type == 'mail' else False |
|
