In Odoo V15 it does not work. In the following I allocated 19.5 days paid time off to Mitchell Admin for the time 1.4.-31.07.2022 , from which he only took 6 days, so 13.5 left. For 1.8.-31.12.2022 I allocated him 3 days. So today, on the 11.08.2022, he should have 13.5+3 days=16.5 days, but Odoo only says 3 days.
it only works, if you give the allocation "more time", means if the employees can take their vacation of the last year with them until 30.04. of the next year, the allocation time has to be accordingly 1.1.2022-30.4.2023.
Then it works as intended; in my case If I give mitchell admin time for the first allocation of 19.5 days to be taken until 31.08., its possible in august:
And I recognised that Odoo also seems to firstly take the days off from the old allocation but while testing this more and while my customer tested it, it came out, that odoo does not take days off from old allocations first but instead it simply takes the days off from the first or last entry in the list of allocations. And if the last one are hours of overtime, then it even takes those acc. to my customer ..
any one having some idea. thanks