summaryrefslogtreecommitdiff
path: root/addons/web/static
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-03-07 09:19:36 +0000
committerNans Lefebvre <len@odoo.com>2019-03-07 13:44:45 +0000
commit2dbce5e6ff851ecc9936bccb40ec42663f0e8bb4 (patch)
tree38f90a2e196e83624afdb84e538511770948e2ae /addons/web/static
parentafd2019fd48d8e7a652bc08f8826ac4902b0d280 (diff)
[FIX] hr_holidays: handle all holiday types in onchange
The holiday_type can be 'employee', 'company', 'department' or 'category'. However in the onchange of holiday_type, for some reason nothing was done in the case of the 'company' value. As a result, the default 'employee' would set the employee_id, but then changing the type to company would not remove the employee_id. It follows that the lucky employee would get two allocations instead of one. opw 1938498 closes odoo/odoo#31656 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static')
0 files changed, 0 insertions, 0 deletions