You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The calculate_lwp_or_ppl_based_on_leave_application function in the Salary Slip has a bug related to calculating Leave Without Pay (LWP) when leave types include holidays. The issue stems from referencing the incorrect attribute name (include_holidays instead of include_holiday) in the function's logic.
Proposed Solution
Update the attribute name from include_holidays to include_holiday in the calculate_lwp_or_ppl_based_on_leave_application function.
Module
Payroll
Version
Frappe : v15.18.2
ERPNext: v15.17.5
HRMS: v15.14.2
Installation method
FrappeCloud
Relevant log output / Stack trace / Full Error Message.
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Information about bug
The
calculate_lwp_or_ppl_based_on_leave_application
function in the Salary Slip has a bug related to calculating Leave Without Pay (LWP) when leave types include holidays. The issue stems from referencing the incorrect attribute name (include_holidays
instead ofinclude_holiday
) in the function's logic.Proposed Solution
Update the attribute name from
include_holidays
toinclude_holiday
in thecalculate_lwp_or_ppl_based_on_leave_application
function.Module
Payroll
Version
Installation method
FrappeCloud
Relevant log output / Stack trace / Full Error Message.
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: