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

Module: Employees

Entity: hr.employee.public

Compute Method: _compute_hours_per_week

View 20.0
Inputs Method Outputs
+ for employee in self:
+             employee.hours_per_week = employee.sudo().resource_calendar_id.hours_per_week
  • hours_per_week

Back to entity