I want to create datetime field with default value but it's display wrong time. I know odoo store with UTC time and display us after calcuate with login user timezone. But I want to convert from login computer timezone. I mean if my pc timezone is United state it display US time. Now if the login user timezone is Asia/Bangkok and my login computer time zone is US. It display as Bangkok time.How can I do that?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- المشروع
- MRP
لقد تم الإبلاغ عن هذا السؤال
Hello GGWP
check below link may help you
https://www.odoo.com/forum/help-1/how-to-convert-utc-datetime-to-local-118994
https://www.odoo.com/forum/help-1/compute-datetime-field-from-date-how-to-deal-with-timezones-135727
Hello Jagdish,
Thanks for your commend. I knew that . But that is not I want. For example, I have one user account but share this account to two person. One person is in United state and another person is Bangkok. And I set user timezone to United state.So, I want to display same time to two person. I don't want to change time.If time is 09:00 in one person, another person also see 09:00. Now odoo display different time.I know that is not formal for users. But my customer want like that.
I think you can achieve this by customizing the login user timezone.
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل| المنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
|---|---|---|---|---|
|
|
1
مايو 22
|
6561 | ||
|
|
0
يوليو 21
|
3162 | ||
|
|
3
مايو 18
|
8825 | ||
|
|
0
نوفمبر 25
|
3353 | ||
|
|
2
أغسطس 25
|
3929 |