diff options
| author | Goffin Simon <sig@odoo.com> | 2019-10-31 12:25:54 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-11-04 09:55:05 +0000 |
| commit | b2f3f092b726719159a16b4362c05592ba71360c (patch) | |
| tree | a5ab618a0a1169ad92ccc0d0d5f90ceaab9b66d8 /doc/reference/javascript_reference.rst | |
| parent | a68be6863b065a1308381c91a5db48a15b81506f (diff) | |
[FIX] hr_holidays: Impossible to allocate future leaves
Steps to reproduce the bug:
- Let's consider Today = 31/10/2019
- Create a new hr.leave.type LT and set a validity from 01/01/2020 to 31/12/2020
- Set mode = Free Allocation Request and Validation = No Validation
- Try to create leave allocations for LT
Bug:
It was impossible to create a leave allocation for LT because Today < 01/01/2020
So it was impossible to allocate future leave.
We had to wait the 01/01/2020 to make the allocation of LT leaves
So now, when no default_date_from is in the context, no domain is applied
opw:2092830
closes odoo/odoo#39715
X-original-commit: 6bc9e6920c23262e13398b1b88ea7cfd3b4f1e7d
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
