Merge pull request #14117 from shreyashah115/fixes

Fix patch
This commit is contained in:
rohitwaghchaure 2018-05-18 12:45:06 +05:30 committed by GitHub
commit 7d834b946f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,6 +67,9 @@ def update_instructors(comp_dict):
THEN "%s"
'''%(employee.name, department, records[department]))
if not when_then:
return
frappe.db.sql("""
update
`tabInstructor`