From ddf90b29f251a4c4b7f86293bb5d3cba9b4423a4 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 1 May 2020 22:34:28 +0530 Subject: [PATCH] Update salary_slip.py --- erpnext/hr/doctype/salary_slip/salary_slip.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/erpnext/hr/doctype/salary_slip/salary_slip.py b/erpnext/hr/doctype/salary_slip/salary_slip.py index f93430229f..4d5c8437c6 100644 --- a/erpnext/hr/doctype/salary_slip/salary_slip.py +++ b/erpnext/hr/doctype/salary_slip/salary_slip.py @@ -66,7 +66,6 @@ class SalarySlip(TransactionBase): else: self.set_status() self.update_status(self.name) - self.update_salary_slip_in_additional_salary() 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: self.email_salary_slip() @@ -1024,4 +1023,4 @@ def unlink_ref_doc_from_salary_slip(ref_no): def generate_password_for_pdf(policy_template, employee): employee = frappe.get_doc("Employee", employee) - return policy_template.format(**employee.as_dict()) \ No newline at end of file + return policy_template.format(**employee.as_dict())