2019-01-22 12:52:20 +00:00
|
|
|
from __future__ import unicode_literals
|
2017-02-21 06:04:30 +00:00
|
|
|
import frappe
|
|
|
|
|
|
|
|
def execute():
|
2017-11-23 12:27:33 +00:00
|
|
|
frappe.reload_doc("education", "doctype", "student_attendance")
|
2017-02-21 06:04:30 +00:00
|
|
|
frappe.db.sql('''
|
|
|
|
update `tabStudent Attendance` set
|
|
|
|
docstatus=0
|
|
|
|
where
|
|
|
|
docstatus=1''')
|