Merge pull request #18381 from surajshetty3416/fix-payroll-UI
fix: Show submit after salary slip creation
This commit is contained in:
commit
fefe4ac095
@ -119,6 +119,8 @@ class PayrollEntry(Document):
|
|||||||
frappe.enqueue(create_salary_slips_for_employees, timeout=600, employees=emp_list, args=args)
|
frappe.enqueue(create_salary_slips_for_employees, timeout=600, employees=emp_list, args=args)
|
||||||
else:
|
else:
|
||||||
create_salary_slips_for_employees(emp_list, args, publish_progress=False)
|
create_salary_slips_for_employees(emp_list, args, publish_progress=False)
|
||||||
|
# since this method is called via frm.call this doc needs to be updated manually
|
||||||
|
self.reload()
|
||||||
|
|
||||||
def get_sal_slip_list(self, ss_status, as_dict=False):
|
def get_sal_slip_list(self, ss_status, as_dict=False):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user