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

Module: Attendances

Entity: hr.attendance.overtime.ruleset

Compute Method: _compute_rules_count

Inputs Method Outputs
for ruleset in self:
            ruleset.rules_count = len(ruleset.rule_ids)

Back to entity