Monday, February 19, 2024
2 changes · master
Resolved issues and error corrections
This update prevents an error from appearing in the Payroll dashboard warning setup. It replaces an invalid development-mode value with the expected text, helping users avoid a traceback during configuration.
Original PR description
We made the following point. - Remove Python code from dev mode. - A traceback occurs when we set `return 0` in Python code. However, we have replaced `return 0` with the correct string in this commit. task-3729569
Referral point records now show a clear name and point value in all cases, including when the value is zero. This prevents records from appearing as unnamed, making referral tracking easier and less confusing for users.
Original PR description
This commit improve the display of hr_referral_points records by preventing the name to be 'unnamed' and by displaying the number of points in every situation even when the number of points is 0. The reason of unnamed seems to be that the record is interpretted as "False" when it's value is 0 task-3667797