hrms icon indicating copy to clipboard operation
hrms copied to clipboard

Error in Income Tax Computation Report

Open yadavyk opened this issue 2 years ago • 1 comments

Information about bug

The below error pops up when you try to set up Payroll Period in Income Tax Computation Report : income_tax

Module

other

Version

V14 Beta2

Installation method

No response

Relevant log output / Stack trace / Full Error Message.

No response

yadavyk avatar Jul 26 '22 13:07 yadavyk

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

ruchamahabal avatar Sep 29 '22 13:09 ruchamahabal

@saurabh6790 fixed in https://github.com/frappe/hrms/pull/310

ruchamahabal avatar Jul 11 '23 04:07 ruchamahabal