diff options
| author | Martin Trigaux <mat@odoo.com> | 2021-02-01 09:07:01 +0000 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2021-02-01 09:41:45 +0000 |
| commit | ada1da9a0cea6aaa3f91ee34fd3b273be79e1e3d (patch) | |
| tree | 392b4e6a9c57778772d1025451810833adbeae06 /odoo | |
| parent | 5ef4b2c77518a4183ce6cc96224f128f8bed10ca (diff) | |
[FIX] hr_holidays: include time in demo data
All fields not provided default to 0, so the the exact values are
`%Y-%m-20 00:00:00` - `%Y-%m-22 00:00:00`.
Because this is only 2 days it can entirely overlap with a week-end
(e.g. 2021-02-20/21), leading to `number_of_days` computed to 0 and
triggering an error at confirmation (`"The following employees are not
supposed to work during that period"`).
Change familly trip as the same issue would occure in May 2021
closes odoo/odoo#65314
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'odoo')
0 files changed, 0 insertions, 0 deletions
