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

Module: Lunch

Entity: lunch.product

Compute Method: _compute_is_available_at

View 17.0 View 20.0
Inputs Method Outputs
"""
            Is available_at is always false when browsing it
            this field is there only to search (see _search_is_available_at)
        """
- for product in self:
-             product.is_available_at = False
+ self.is_available_at = False
  • is_available_at

Back to entity