Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
8032 มุมมอง

Hello everyone.

I have to manage flights information in my openerp module. I ask for flights dates and time to an external system, and this system sends me the times in the timezone for the departure and arrival airports, and I need to keep these dates unchanged.

But when I store these dates, openerp assumes that they are for the user timezone, and stores these in GMT.

So I can't I make openerp ignore its timezone management system for my fields ? I need to store and display the date I received from the system, not a converted datetime for the user's timezone.

I searched on the net about this, but didn't find anything.

Thank you !

อวตาร
ละทิ้ง

All dates on openerp are saved on GMT, and then formatted to the user, to keep the openerp logic, you need in your flight information object to store the timezone, and then find a way to tell openerp web to format the time to that timezone and not the users.

ผู้เขียน

Didn't see this answer, sorry ! I think I'll look for another solution, a bit simplier, but thanks !

Related Posts ตอบกลับ มุมมอง กิจกรรม
Take Users Timezone แก้ไขแล้ว
3
ก.ค. 25
3777
Time & Date Issue แก้ไขแล้ว
6
ก.ย. 19
11083
2
มี.ค. 16
7725
Datetime and Time Zones - OpenERP 7 แก้ไขแล้ว
1
ม.ค. 24
12599
4
มี.ค. 23
14431