Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
3459 Widoki

Hello Guys

I am using ubuntu 12.04 & i had set IST time Zone

When i click on sign in button in openerp 7 for attendence in from view its display Date & time in IST time zone

But tin my postgresql database its stored in UTC Time zone

I want to use same time zone in openerp form & postgresl database is IST time zone

How can i do

Any suggession

Thanks

Awatar
Odrzuć
Najlepsza odpowiedź

OpenERP is always storing the time in the UTC on the Database. eg. As per IST if you enter 5:30 in database it will be 12:00. 
Now when OpenERP is reading the data from the database the web client is taking the timezone and converts time appropreate to the time zone. 
The database & OpenERP form has the same time, if you change the timezone of User to UTC. if you want to change the time zone of server to IST. you need to change the OpenERP server code. but it will effect the OpenERP forms in case user has timezone other than UTC.

Awatar
Odrzuć
Autor

From Where we change in Server code Pls Help me Atul

Powiązane posty Odpowiedzi Widoki Czynność
2
kwi 23
3392
2
lut 21
16518
1
paź 20
3580
2
sie 19
3887
0
wrz 16
4544