mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
Co-authored-by: Rucha Mahabal <ruchamahabal2@gmail.com>
(cherry picked from commit 152f9b0a43)
Co-authored-by: Devin Slauenwhite <devin.slauenwhite@gmail.com>
This commit is contained in:
@@ -172,7 +172,6 @@ class SalarySlip(TransactionBase):
|
|||||||
and employee = %s and name != %s {0}""".format(cond),
|
and employee = %s and name != %s {0}""".format(cond),
|
||||||
(self.start_date, self.end_date, self.employee, self.name))
|
(self.start_date, self.end_date, self.employee, self.name))
|
||||||
if ret_exist:
|
if ret_exist:
|
||||||
self.employee = ''
|
|
||||||
frappe.throw(_("Salary Slip of employee {0} already created for this period").format(self.employee))
|
frappe.throw(_("Salary Slip of employee {0} already created for this period").format(self.employee))
|
||||||
else:
|
else:
|
||||||
for data in self.timesheets:
|
for data in self.timesheets:
|
||||||
|
|||||||
Reference in New Issue
Block a user