Update salary_slip.py

This commit is contained in:
Nabin Hait
2020-05-01 22:34:28 +05:30
committed by GitHub
parent a67fb31f67
commit ddf90b29f2

View File

@@ -66,7 +66,6 @@ class SalarySlip(TransactionBase):
else: else:
self.set_status() self.set_status()
self.update_status(self.name) self.update_status(self.name)
self.update_salary_slip_in_additional_salary()
self.make_loan_repayment_entry() self.make_loan_repayment_entry()
if (frappe.db.get_single_value("HR Settings", "email_salary_slip_to_employee")) and not frappe.flags.via_payroll_entry: if (frappe.db.get_single_value("HR Settings", "email_salary_slip_to_employee")) and not frappe.flags.via_payroll_entry:
self.email_salary_slip() self.email_salary_slip()