[5.0+trunk] hr_holidays : Cannot validate last day of leave
Bug #649703 reported by
Niels Huylebroeck
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) | Status tracked in Trunk | |||||
5.0 |
Invalid
|
Undecided
|
Niels Huylebroeck | |||
Trunk |
Invalid
|
Undecided
|
Niels Huylebroeck |
Bug Description
Quite simply put, the comparison does not make sense at all :
hr_holidays/hr.py : 267
if leaves_rest < leave_asked:
This equation has to be reversed,
if leave_asked > leaves_rest:
Changed in openobject-addons: | |
assignee: | nobody → Niels Huylebroeck (niels-bubbles-it) |
summary: |
- [5.0] hr_holidays : Cannot validate last day of leave + [5.0+trunk] hr_holidays : Cannot validate last day of leave |
To post a comment you must log in.
Noticed this was also happening in v6, branch on the way.