summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2020-01-08 11:20:04 +0000
committerYannick Tivisse <yti@odoo.com>2020-01-08 17:09:07 +0000
commit2bbae8e70eaac92550d27deb4bc5c02ee8cbbd35 (patch)
tree3863dbb286e4c79c5a8abca3d9b90c55cfa6db6b /addons/web/static/src
parent416a1cc08988a92fbf8cd7c0fd27ce7fbaddd0cf (diff)
[FIX] hr_holidays: Fix number_of_hours_display computation
Impacted versions: 13.0 Steps to reproduce: Add employee, allocate paid leave, set leave in hours. Standard workweek is set to 40 hours. 5 days 8h per day Global Time off: Dec.25 00:00:00 - Dec.26 23:59:59 Employee requests one week of leave, during christmas (dec.25 and dec. 26 in the week). Manager approves. Current behavior: Before approval the total hours in the request is 24. The manager approves and the total hours change to 40. Total remaining hours is also -40. Expected behavior: After approval the requested hours should not change and remain 24. The total remaining hours should also be -24. This is a similar issue as issue #41848 which has been fixed in #42710 TaskID: 2169161 Closes #42877 closes odoo/odoo#42924 closes odoo/odoo#42983 Original-signed-off-by: Yannick Tivisse (yti) <yti@odoo.com> X-original-commit: 11a5e3d09dd57d51813fc8151c30a619d4f368b5 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions