[IMP] hr_holidays: perf improvement
Previously, a performance improvement landed on 5a2efd2e. It totally makes sense, but there's a corner case that's actually hurt by that commit: there are cases where the heavy computation of employee_quantity_available is simply not used by the following loop. This commit solves it. It also improves the readability of the code by unpacking and properly naming some variables. closes odoo/odoo#122823 Signed-off-by:Kevin Baptiste <kba@odoo.com>
Loading
Please register or sign in to comment