Submit auto created salary structure assignments
diff --git a/erpnext/patches/v11_0/create_salary_structure_assignments.py b/erpnext/patches/v11_0/create_salary_structure_assignments.py
index 12b477b..b5ee6c6 100644
--- a/erpnext/patches/v11_0/create_salary_structure_assignments.py
+++ b/erpnext/patches/v11_0/create_salary_structure_assignments.py
@@ -25,6 +25,7 @@
 			# to migrate the data of the old employees
 			s.flags.old_employee = True
 			s.save()
+			s.submit()
 		except DuplicateAssignment:
 			pass