diff options
| author | Yannick Tivisse <yti@odoo.com> | 2020-01-03 16:01:28 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2020-01-08 17:09:07 +0000 |
| commit | 416a1cc08988a92fbf8cd7c0fd27ce7fbaddd0cf (patch) | |
| tree | 192914a5bdc75965cbc15cac5b489b1cef6f1eff /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 3c5194a00b3c0525dfd84552233e9c8f85a150f4 (diff) | |
[IMP] hr_holidays: Correctly compute number_of_hours_display
Purpose
=======
Impacted versions: 13.0
Steps to reproduce:
- Add employee
- allocate paid leave
- set leave in hours
- Employee working hours is
Mo: 8:30-12:30
Tu-Fr: 8:30-12:30 and 13:00-17:30 (total of 38h per week).
- Employee requests on week of leave
- Total hours in request is 38. Manager approves.
Current behavior:
Before approval the total hours in the request is 38. 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 38.
The total remaining hours should also be -38.
Taskid: 2166964
Closes: #41848
X-original-commit: b89565b93d8e6905d4cc3fe9d3de8ddecb43acd4
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
