CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am running an Openerp application in Ubuntu server with the timezone as 'Asia/Kolkata'. In my openerp application, the timezone is set as 'Asia/Kolkata' in the preferences. But at the time of saving the records, in DB it is saving in the timezone 'UTC'. I need to save the datetime in 'Asia/Kolkata' for all the records. How can I change the settings such that I can save the time in 'Asia/Kolkata' in the DB. Please help me with a solution. You can contact me on email@example.com
Thank You All.
@Scot, AFAIK, times are saved in UTC so that OpenERP can support multiple Timezone within a single database. As such all the code related to datetime (at server's level and web UI level) has been build with that assumption in mind. If you need to get the value in different timezone from the database, I believe it is for easier to calculate it from the field's value rather than getting OpenERP to manage (storing is just only part of it) the time value in non-UTC timezone.
About This Community
Odoo Training Center
|Asked: 1/21/15, 2:47 AM|
|Seen: 1274 times|
|Last updated: 3/16/15, 8:10 AM|