Skip to Content
Menu
This question has been flagged
1 Reply
4584 Views

Odoo datetime interface is different with postgresql database. I want my datetime in postgres same with my odoo interface. How can I do that.

Avatar
Discard
Best Answer

In Postgres Odoo saves datetime field In UTC Format, this is to generalize the usage of data for multi users with different TZ. So according to users ORM methods convert the datetime data to Different TZ.But Some explicit retrieval of data will give In UTC Format. So you have to convert it using python datetime objects.
Please refer this Question here   

Avatar
Discard
Related Posts Replies Views Activity
3
Jul 23
24322
2
Jun 22
4583
2
Sep 21
3479
1
Nov 20
6783
2
Mar 19
4971