From 081eab147fb210f01bd0b0826d0f880f49690497 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 21 Sep 2016 12:55:16 +0530 Subject: [PATCH] Update salary_slip.py --- erpnext/hr/doctype/salary_slip/salary_slip.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/hr/doctype/salary_slip/salary_slip.py b/erpnext/hr/doctype/salary_slip/salary_slip.py index 7727652c44a..dbbdf7fab0a 100644 --- a/erpnext/hr/doctype/salary_slip/salary_slip.py +++ b/erpnext/hr/doctype/salary_slip/salary_slip.py @@ -55,7 +55,7 @@ class SalarySlip(TransactionBase): for struct_row in self._salary_structure_doc.get(key): amount = self.eval_condition_and_formula(struct_row, data) if amount: - self.update_component_row(struct_row, amount, key) + self.update_component_row(struct_row, amount, key) def update_component_row(self, struct_row, amount, key): @@ -365,4 +365,4 @@ class SalarySlip(TransactionBase): timesheet.salary_slip = salary_slip timesheet.flags.ignore_validate_update_after_submit = True timesheet.set_status() - timesheet.save() \ No newline at end of file + timesheet.save()