Update move_employee_parent_to_child_in_salary_structure.py
diff --git a/erpnext/patches/v7_0/move_employee_parent_to_child_in_salary_structure.py b/erpnext/patches/v7_0/move_employee_parent_to_child_in_salary_structure.py
index 085fbbf..509c0a8 100644
--- a/erpnext/patches/v7_0/move_employee_parent_to_child_in_salary_structure.py
+++ b/erpnext/patches/v7_0/move_employee_parent_to_child_in_salary_structure.py
@@ -2,9 +2,10 @@
 
 def execute():
 	frappe.reload_doc('hr', 'doctype', 'salary_structure')
+	frappe.reload_doc('hr', 'doctype', 'salary_structure_employee')
 	for ss in frappe.db.sql(""" select employee, name from `tabSalary Structure`""", as_dict=True):
 		ss_doc = frappe.get_doc('Salary Structure', ss.name)
 		se = ss_doc.append('employees',{})
 		se.employee = ss.employee
 		se.base = 0
-		ss_doc.save()
\ No newline at end of file
+		ss_doc.save()