Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3442 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

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.

Avatar
Abbandona
Autore

From Where we change in Server code Pls Help me Atul

Post correlati Risposte Visualizzazioni Attività
2
apr 23
3377
2
feb 21
16512
1
ott 20
3558
2
ago 19
3883
0
set 16
4542