From 23e235395e3a631675adc6a90bf0906ab4d8cac6 Mon Sep 17 00:00:00 2001 From: Ranjith Kurungadam Date: Wed, 27 Jun 2018 17:29:40 +0530 Subject: [PATCH] Salary Slip - remove check query limited to one (#14699) --- erpnext/hr/doctype/salary_slip/salary_slip.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/erpnext/hr/doctype/salary_slip/salary_slip.py b/erpnext/hr/doctype/salary_slip/salary_slip.py index 63e9ab0e0b..91d3fedb67 100644 --- a/erpnext/hr/doctype/salary_slip/salary_slip.py +++ b/erpnext/hr/doctype/salary_slip/salary_slip.py @@ -237,9 +237,6 @@ class SalarySlip(TransactionBase): '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