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 found the field type in PostgreSQL is 'timestamp without time zone' if the type of a odoo model field is 'openerp.fields.Datetime'.
After log statements that running in PostgreSQL, it seem that if write the '2016-09-08 00:00:00' of Beijing Time (+8) to , or read it form the database, the ORM tool of Odoo will convert the string to '2016-09-07 16:00:00' before form the SQL statement to database.
Are there anyone can give me the evidence that can prove (or disprove) of mine?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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/7/16, 9:44 PM|
|Seen: 261 times|
|Last updated: 9/8/16, 1:35 AM|