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

View 20.0
Inputs Method Outputs
  • visibility
  • is_member
+ 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')
+             )
  • is_visible

Back to entity