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

Module: Email tracking

Entity: mail.tracking.email

Compute Method: _compute_message_id

Inputs Method Outputs
"""This helper field will allow us to map the message_id from either the linked
        mail.message or a mass.mailing mail.trace."""
self.message_id = False
for tracking in self.filtered("mail_message_id"):
            tracking.message_id = tracking.mail_message_id.message_id

Back to entity