Skip to content

Commit

Permalink
fix(Payroll): multiline condition & formula eval failing on salary sl…
Browse files Browse the repository at this point in the history
…ip creation from payroll entry
  • Loading branch information
ruchamahabal committed Sep 4, 2024
1 parent f109bf3 commit c45f553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hrms/payroll/doctype/salary_slip/salary_slip.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def get_emp_and_working_day_details(self):
struct = self.check_sal_struct()

if struct:
self._salary_structure_doc = frappe.get_cached_doc("Salary Structure", struct)
self.set_salary_structure_doc()
self.salary_slip_based_on_timesheet = (
self._salary_structure_doc.salary_slip_based_on_timesheet or 0
)
Expand Down

0 comments on commit c45f553

Please sign in to comment.