Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3439 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

From Where we change in Server code Pls Help me Atul

Related Posts Odpovědi Zobrazení Aktivita
2
dub 23
3377
2
úno 21
16512
1
říj 20
3558
2
srp 19
3883
0
zář 16
4542