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

View 17.0 View 18.0
Inputs Method Outputs
- writable_templates = self._filter_access_rules('write')
+ writable_templates = self._filtered_access('write')
for template in self:
            template.can_write = template in writable_templates
  • can_write

Back to entity