odoo/odoo#261963
Created by Fun HR, Jurgen Gjini (jugj)
Merged
at 522af3f3b828ef43fe5a69d481d74941d41f4ed7
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: (runtime 908s)
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- ci/l10n: (runtime 25s)
- ci/documentation: (runtime 1325s)
- ci/design-theme: (runtime 2011s)
- label
- odoo-dev:saas-19.2-hr-holidays-fix-get-leaves-domain-jugj
- head
- 3a80e00b2a2a2d93aa86d1adc05ec8c5f4c89d49
- merged
- 3 days ago by Platform, Pierre Masereel (pim)
| odoo/odoo | |
|---|---|
| saas-19.2 | #261963 |
| saas-19.3 | #262083 |
| master | #262093 |
[FIX] hr_holidays: Fix domain of _get_leaves_from_vals
Currently if we have 2 versions on the same contract dates, we check leaves from the contract_start_date, instead of the version date. Meaning if we only have versions on 1 contract date, we will recalculate ALL the leaves all the time. This should not be the case.