Merge pull request #5772 from expsa/youn_dev_odex25_hr

[FIX] attendances: FIX bug
This commit is contained in:
kchyounes19 2025-12-21 14:58:24 +01:00 committed by GitHub
commit 70e4acb2bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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()