Commit 32e47ee
committed
[FIX] hr_holidays: fix traceback bug when selecting leave type
Steps to reproduce:
- On the Time Off app go to Configuration -> Time Off Types
- Select any time off type the click the Time Off smart button
- Click new and on the creation form try changing the Time Off type for an employee
Cause of the bug:
- The function that compares the leave type days and the employee's remaining leave days
only gets the leave type days as an input, the other argument is missing
Fix done:
- Passing the input value as the second argument for the op(v1, v2) function
task-53802841 parent 2afe0c2 commit 32e47ee
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
| 286 | + | |
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| |||
0 commit comments