Skip to content
Snippets Groups Projects
Commit 05c373a9 authored by ppr-odoo's avatar ppr-odoo Committed by Yannick Tivisse
Browse files

[FIX] hr_holidays: fix traceback to add timezone


Currently, Traceback occurs when we do timezone filters in every one
report of time off because the timezone is non-stored compute field in
hr leave model.

So in this commit, get the timzone value based on compute field from
resource or timezone of the current company's calendar OR user's tz
and at last 'UTC'.

closes odoo/odoo#57597

Taskid: 2334866
Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
parent 200ab9fd
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment