hrms
hrms copied to clipboard
Error in Income Tax Computation Report
Information about bug
The below error pops up when you try to set up Payroll Period in Income Tax Computation Report :
Module
other
Version
V14 Beta2
Installation method
No response
Relevant log output / Stack trace / Full Error Message.
No response
What to fix?
Income Tax Computation Report tries to calculate component amounts configured in the salary structure. If there is any error while evaluating the formula like it's referring to some non-existing component/abbreviation, the error should be handled gracefully like:
Incorrect condition/formula while evaluating salary structure: {salary_struct_name} And then show the error message
@saurabh6790 fixed in https://github.com/frappe/hrms/pull/310