diff options
| author | Lucas Lefèvre <lul@odoo.com> | 2019-06-11 07:40:22 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2019-11-19 15:17:53 +0000 |
| commit | 4f59004a0f407e93cfed2126198208738ed47f9a (patch) | |
| tree | 74c2ce29649baff09f6b71c6ce5bc2497c78f947 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | abed0272b60f7b18fb34c80c07fd2ff1da5f3339 (diff) | |
[IMP] hr_leave: Request leave in the employee's timezone
Purpose
=======
If a manager creates a leave for an employee in another timezone,
the employee's timezone should be used, not the user's timezone.
Currently, if a manager with timezone UTC creates a leave (one day)
for an employee in New Zealand timezone, the leave is during the
night from the employee's perspective.
Specification
=============
1) Use the employee's timezone for saving leave dates.
2) Display a warning if the user and the employee have different timezones.
closes odoo/odoo#34020
Taskid: 2008407
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
