mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-14 18:51:21 +00:00
Fix patch
This commit is contained in:
@@ -67,6 +67,9 @@ def update_instructors(comp_dict):
|
|||||||
THEN "%s"
|
THEN "%s"
|
||||||
'''%(employee.name, department, records[department]))
|
'''%(employee.name, department, records[department]))
|
||||||
|
|
||||||
|
if not when_then:
|
||||||
|
return
|
||||||
|
|
||||||
frappe.db.sql("""
|
frappe.db.sql("""
|
||||||
update
|
update
|
||||||
`tabInstructor`
|
`tabInstructor`
|
||||||
|
|||||||
Reference in New Issue
Block a user