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

Module: Mail Group

Entity: mail.group

Compute Method: _compute_moderation_rule_count

Inputs Method Outputs
for group in self:
            group.moderation_rule_count = len(group.moderation_rule_ids)

Back to entity