diff --git a/erpnext/patches/v11_0/create_salary_structure_assignments.py b/erpnext/patches/v11_0/create_salary_structure_assignments.py index 12b477b820..b5ee6c6a29 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 @@ def execute(): # to migrate the data of the old employees s.flags.old_employee = True s.save() + s.submit() except DuplicateAssignment: pass