Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3441 Представления

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

Аватар
Отменить
Лучший ответ

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.

Аватар
Отменить
Автор

From Where we change in Server code Pls Help me Atul

Related Posts Ответы Просмотры Активность
2
апр. 23
3377
2
февр. 21
16512
1
окт. 20
3558
2
авг. 19
3883
0
сент. 16
4542