This question has been flagged
1 Reply
2813 Views

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
Discard
Best Answer

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
Discard
Author

From Where we change in Server code Pls Help me Atul