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

Module: Date Range

Entity: date.range

Compute Method: _compute_active

Inputs Method Outputs
for date in self:
            if date.type_id.active:
                date.active = True
            else:
                date.active = False

Back to entity