diff options
| author | Toufik Ben Jaa <tbe@odoo.com> | 2019-04-23 15:22:16 +0000 |
|---|---|---|
| committer | Toufik Ben Jaa <tbe@odoo.com> | 2019-04-23 15:22:16 +0000 |
| commit | 30e7a64cbdb9884f847dfb6c39a30ab651e650d7 (patch) | |
| tree | d49f17b91f1b7b640b477f282ee90cf9b10f5da3 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 9617e79e583aeb3d6d983045c5934dae28dce0c1 (diff) | |
[FIX] hr_holidays: fix logic of a onchange on leave allocation
- When changing the `holiday_type` of a leave allocation while having an
employee set and if this `holiday_type` has as its value `employee`
the field `employee_id` is set to False.
This is not the intended behavior. We want the field `employee_id`
to be filled if the `holiday_type` is set to `employee`.
closes odoo/odoo#32886
Signed-off-by: Denis Ledoux <beledouxdenis@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
