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

Module: HR Timesheet Sheet Warning

Entity: hr_timesheet.sheet.warning.item

Compute Method: _compute_name

Inputs Method Outputs
for rec in self:
            rec.name = (
                f"{rec.warning_definition_id.display_name} "
                f"in {rec.sheet_id.complete_name}"
            )

Back to entity