@ -41,12 +41,19 @@ class MaintenanceVisit(TransactionBase):
work_done=nmandnm[0][3]or''
else:
status='Open'
mntc_date=''
service_person=''
work_done=''
mntc_date=None
service_person=None
work_done=None
frappe.db.sql("update `tabWarranty Claim` set resolution_date=%s, resolved_by=%s, resolution_details=%s, status=%s where name =%s",(mntc_date,service_person,work_done,status,d.prevdoc_docname))