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

Compute Method: _compute_can_edit

View 20.0
Inputs Method Outputs
  • is_manager
  • is_own
+ for attendance in self:
+             attendance.can_edit = attendance.is_manager or attendance.is_own
  • can_edit

Back to entity