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_is_visible

Inputs Method Outputs
for channel in self:
            channel.is_visible = (
                channel.visibility == 'public'
                or channel.is_member
                or (not self.env.user._is_public() and channel.visibility == 'connected')
            )

Back to entity