fix(minor): save the employee doc on promotion/transfer update

This commit is contained in:
Rucha Mahabal
2022-08-18 11:42:29 +05:30
parent 4775c42593
commit 36130c6292

View File

@@ -224,7 +224,7 @@ def delete_employee_work_history(details, employee, date):
filters["from_date"] = date
if filters:
frappe.db.delete("Employee Internal Work History", filters)
employee.reload()
employee.save()
@frappe.whitelist()