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

Module: Maintenance

Entity: maintenance.equipment.category

Compute Method: _compute_fold

Inputs Method Outputs
self.fold = False
for category in self:
            category.fold = False if category.equipment_count else True

Back to entity