Merge pull request #1015 from expsa/bakry_hr

fix
This commit is contained in:
bakry 2024-09-04 17:10:09 +03:00 committed by GitHub
commit 7918b28611
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View File

@ -2130,3 +2130,9 @@ msgstr "تسجيل الحضور قبل"
msgid "The Maximum Number of Days to Request Missing Attendance"
msgstr "الحد الأقصى لعدد الأيام لطلب تسجيل بصمة مفقوده"
#. module: attendances
#: code:addons/attendances/wizard/attendances_report_wiz.py:0
#, python-format
msgid "Please select Employees Name"
msgstr "الرجاء إختيار أسماء الموظفين"

View File

@ -20,7 +20,7 @@ class AttendancesReport(models.TransientModel):
def print_report(self):
if not self.employee_ids:
raise ValidationError(_("Please select Employee"))
raise ValidationError(_("Please select Employees Name"))
data = {
'ids': self.ids,
'model': self._name,