mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-19 10:14:59 +00:00
fix: Minor fix
This commit is contained in:
@@ -44,7 +44,7 @@ class Student(Document):
|
||||
|
||||
def create_student_user(self):
|
||||
"""Create a website user for student creation if not already exists"""
|
||||
if not frappe.db.exists("User", self.student_email_id)
|
||||
if not frappe.db.exists("User", self.student_email_id):
|
||||
student_user = frappe.get_doc({
|
||||
'doctype':'User',
|
||||
'first_name': self.first_name,
|
||||
|
||||
Reference in New Issue
Block a user