From 68fa65edd171f9ec44d0cae5c030ded70f07a492 Mon Sep 17 00:00:00 2001 From: indictrans Date: Mon, 17 Feb 2020 14:55:56 +0530 Subject: [PATCH] fix: Throw message --- erpnext/education/doctype/student/student.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/education/doctype/student/student.py b/erpnext/education/doctype/student/student.py index 45e848b55e4..81fa7f7fae9 100644 --- a/erpnext/education/doctype/student/student.py +++ b/erpnext/education/doctype/student/student.py @@ -24,7 +24,7 @@ class Student(Document): def validate_dates(self): for sibling in self.siblings: if sibling.date_of_birth and getdate(sibling.date_of_birth) >= getdate(): - frappe.throw(_("Row {0}:Sibling Date of Birth cannot be greater than today").format(sibling.idx)) + frappe.throw(_("Row {0}:Sibling Date of Birth cannot be greater than today.").format(sibling.idx)) if self.date_of_birth and getdate(self.date_of_birth) >= getdate(today()): frappe.throw(_("Date of Birth cannot be greater than today."))