From 4d0c73a5c87fbcbcb7080a439744cea1e7da66c3 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 29 May 2018 13:25:28 +0530 Subject: [PATCH] Submit auto created salary structure assignments --- erpnext/patches/v11_0/create_salary_structure_assignments.py | 1 + 1 file changed, 1 insertion(+) 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