payroll
payroll copied to clipboard
Type validation bug in [hr_salary_rule.py/Line 280]
- There is a type validation bug in [hr_salary_rule.py/Line 280] that causes incorrect behavior when certain invalid types are passed as input.
- The current validation logic does not correctly identify or handle values that are not of the expected type, leading to runtime errors or incorrect processing.
The condition should check the type of the values and there should be a valid check for "amount": float(localdict["result"]),
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.