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

Module: Snail Mail

Entity: mail.message

Compute Method: _compute_snailmail_error

Inputs Method Outputs
self.snailmail_error = False
for message in self.filtered(lambda msg: msg.message_type == 'snailmail' and msg.letter_ids):
            message.snailmail_error = message.letter_ids[0].state == 'error'

Back to entity