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.composer.mixin

Compute Method: _compute_can_edit_body

Inputs Method Outputs
for record in self:
            record.can_edit_body = (
                record.is_mail_template_editor
                or not record.template_id
            )

Back to entity