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

Compute Method: _compute_birthday_month

View 20.0
Inputs Method Outputs
  • birthday
  • birthday.month
+ for employee in self:
+             employee.birthday_month = str(employee.birthday.month) if employee.birthday else '0'
  • birthday_month

Back to entity