Skip to content

Commit f6abbc4

Browse files
feat(minor): allow using rounded function in salary slip formulae (backport #1774) (#1775)
- the `round` function does Banker's rounding. Allow usage of `rounded` to respect System Settings & allow Commercial Rounding (cherry picked from commit c1704c9) Co-authored-by: Rucha Mahabal <[email protected]>
1 parent 7bfed5f commit f6abbc4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hrms/payroll/doctype/salary_slip/salary_slip.py

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def __init__(self, *args, **kwargs):
6464
"float": float,
6565
"long": int,
6666
"round": round,
67+
"rounded": rounded,
6768
"date": date,
6869
"getdate": getdate,
6970
"ceil": ceil,

0 commit comments

Comments
 (0)