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_can_write

Inputs Method Outputs
writable_templates = self._filtered_access('write')
for template in self:
            template.can_write = template in writable_templates

Back to entity