[FIX] attendances: FIX bug

This commit is contained in:
younes 2025-12-21 14:57:39 +01:00
parent e267ee6dc7
commit 7245f7b5cc
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class HrAttendanceReport(models.Model):
('confirmed', _('HR Manager Approval')),
('approved', _('Approved')), ('refused', _('Refused'))], default="draft")
calendar_ids = fields.Many2many('resource.calendar', string='Calendars')
name = fields.Char(string=_("Name"), required=True)
name = fields.Char(string=_("Name"), required=True,default=lambda self: _("Attendance Report"))
deduct_date_from = fields.Date()
deduct_date_to = fields.Date()