Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am storing a datetime field by converting from string to datetime using datetime package. It's getting saved properly in database with given values. But when I use that field openerp views I get time mismatch.
" 2014-09-18 00:00:00" # saved datetime in database
In browser(views) its showing 09/18/2014 05:30:00
Can anybody tell how to stop this time conversion.
This is probably due to the Timezone you selected for the related user (Time zone India: GMT + 5.30).
From this LINK (response from Fabien Pinckaers)
Data are stored in the database in UTC (not depending on the timezone of your users)
When the client receives the data, it translates it according to the timezone of the user which is on the global context that comes from the user preferences (so, the date/time you see on the screen is not the same than the one in the database)
The client sends back the new dates to the server under the UTC format
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 9/18/14, 11:04 AM|
|Seen: 1617 times|
|Last updated: 3/16/15, 8:10 AM|