When creating or editing a time-off with custom hours it shows the message "The employee has a different timezone than yours! Here dates and times are displayed in the employee's timezone (UTC).". I create a time-off for myself. I changed my user and my employee in order to have the same time zone. Why keeps showing the message?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Buchhaltung
- Lager
- PoS
- Project
- MRP
Diese Frage wurde gekennzeichnet
Thanks STAFFINSIDE and Cybrosys. I tried also closing session and cleaning cache but the message is still there. As I'm using v18, I think the case is a bug, as mentioned by Cybrosys.
Hi,
In Odoo’s Time Off app, the warning about different time zones appears when the system sees a mismatch between the employee’s timezone and the current user’s timezone. Even if you update both, Odoo checks them separately: the user’s timezone comes from Preferences, while the employee’s timezone is stored on the Employee record. If one is empty or still set to UTC, the system triggers the message.
This happens because Odoo compares the employee’s tz field directly with the user’s tz. If they don’t match exactly, or if the employee’s field is blank and defaults to UTC, you’ll still see the message. Clearing your cache and re-logging in helps reload settings, but if the warning persists even after both are set correctly, it may be due to a known bug in newer versions. In that case, the warning is harmless, though it can be patched by adjusting the logic in the hr_holidays module.
Hope it helps
Hi Leandro,
That message appears when Odoo detects a mismatch between the User timezone and the Employee’s related timezone. Even if you set both to the same value, please check the following:
-
User vs Employee link
- Go to Employees > Your Employee Record > Work Information and make sure the “Related User” field is correctly linked to your user.
-
Timezone field
- The timezone must be set on the user record: Settings > Users & Companies > Users > Preferences (Timezone).
- The employee record does not hold a separate timezone; it inherits from the related user.
-
Refresh session
- After changing the timezone, log out and back in (or clear your cache). Sometimes the old timezone context is still stored in your session.
If everything is aligned, the warning should disappear.
I hope this works for you!
STAFFINSIDE just posts AI generated answers. Useless in a forum.
Diskutieren Sie gerne? Treten Sie bei, statt nur zu lesen!
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
RegistrierenVerknüpfte Beiträge | Antworten | Ansichten | Aktivität | |
---|---|---|---|---|
|
1
Aug. 25
|
464 | ||
|
1
Juli 25
|
745 | ||
|
1
Juli 25
|
1060 | ||
|
2
Mai 25
|
1671 | ||
End of service in odoo 17
Gelöst
|
|
1
Juli 25
|
1377 |