diff --git a/erpnext/hr/doctype/salary_slip/salary_slip.py b/erpnext/hr/doctype/salary_slip/salary_slip.py index 7727652c44..dbbdf7fab0 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()