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_is_template_editor

View 17.0 View 20.0
Inputs Method Outputs
- self.is_template_editor = self.user_has_groups('mail.group_mail_template_editor')
+ self.is_template_editor = self.env.user.has_group('mail.group_mail_template_editor')
  • is_template_editor

Back to entity