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

Module: Work Entries

Entity: hr.time.rule

Compute Method: _compute_expected_hours

View 20.0
Inputs Method Outputs
  • working_hours_mode
+ for rule in self:
+             if rule.working_hours_mode in ('schedule_day', 'schedule_week'):
+                 rule.expected_hours = 0.0
  • expected_hours

Back to entity