[5.0] hr_holidays summary report goes weird on start date 1 (or 2) januari
Bug #423733 reported by
Niels Huylebroeck
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Niels Huylebroeck |
Bug Description
The code assumes that if there is less than 30 days to go it only needs to output one month.
The linked branch has a fix where it really checks the amount of days in the coming month.
There might be a problem in that file as i see the code constantly using lengthmonth(
Not sure why the +1 is there on the other calls to lengthmonth but I had to remove them for it to work when i was checking day_diff1 to the lenth of days in a month.
Related branches
Changed in openobject-addons: | |
assignee: | nobody → Red15 (niels-bubbles-it) |
status: | New → Fix Committed |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
hang on, checking fix, seems not to work when i did it on clean code.