Minor fix in patch

This commit is contained in:
Nabin Hait 2017-11-23 17:57:33 +05:30
parent aa5b566ea9
commit 82ef26b327

View File

@ -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