fix: Student Attendance error message (#23769)

This commit is contained in:
Rucha Mahabal 2020-10-29 23:03:53 +05:30 committed by GitHub
parent 825d79b31b
commit 2bb7ed34d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,6 +75,6 @@ class StudentAttendance(Document):
})
if attendance_record:
record = get_link_to_form('Attendance Record', attendance_record)
record = get_link_to_form('Student Attendance', attendance_record)
frappe.throw(_('Student Attendance record {0} already exists against the Student {1}')
.format(record, frappe.bold(self.student)), title=_('Duplicate Entry'))