Salary Slip - remove check query limited to one (#14699)
diff --git a/erpnext/hr/doctype/salary_slip/salary_slip.py b/erpnext/hr/doctype/salary_slip/salary_slip.py
index 63e9ab0..91d3fed 100644
--- a/erpnext/hr/doctype/salary_slip/salary_slip.py
+++ b/erpnext/hr/doctype/salary_slip/salary_slip.py
@@ -237,9 +237,6 @@
'end_date': self.end_date, 'joining_date': joining_date})
if st_name:
- if len(st_name) > 1:
- frappe.msgprint(_("Multiple active Salary Structures found for employee {0} for the given dates")
- .format(self.employee), title=_('Warning'))
return st_name and st_name[0][0] or ''
else:
self.salary_structure = None