diff --git a/erpnext/patches/v7_2/update_attendance_docstatus.py b/erpnext/patches/v7_2/update_attendance_docstatus.py index 6fbab019f5..863c0c02bb 100644 --- a/erpnext/patches/v7_2/update_attendance_docstatus.py +++ b/erpnext/patches/v7_2/update_attendance_docstatus.py @@ -1,8 +1,7 @@ import frappe def execute(): - frappe.reload_doctype('Student Attendance') - # frappe.reload_doc("schools", "doctype", "student_attendance") + frappe.reload_doc("education", "doctype", "student_attendance") frappe.db.sql(''' update `tabStudent Attendance` set docstatus=0