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

Module: eLearning

Entity: slide.channel

Compute Method: _compute_allow_comment

Inputs Method Outputs
"""Comment allowed by default except for documentation channels."""
for record in self:
            record.allow_comment = record.channel_type != 'documentation'

Back to entity