Good day, what happens is that I need to make a search according to the date that begins the day that is 00:00:00 to 23:59:59 the time ends, the problem that occurs is that I I am from Colombia and I like utc 5 hours then sum all records that do from 7pm onwards left me as if they were the next day, as you can solve this problem in advance thank you very much.
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
This question has been flagged
To manage timezones jou need to know how it works and follow few rulez..
1. server MUST be on UTC time no mater what is your local timezone...
--> postgres can hande datetime fields with timezone but odoo always stores datetime as UTC without tz info. orm recalulates time values according to users current timezone settings.
2. if you want to use custom sql to fetch some data than you have to be aware of how odoo handes datetime , and adjust your sql to modify time according to your timezone... you will have a lot of problems if your users come from different timezones, and if your timezone have summer/winter time diff...
3. there is no easy way of handling it without orm.
hope it helps to understand a bit, specialy if you write your own sql...
Have you tried setting the timezone of the user? You can go to the Preferences menu and set it there.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Sep 17
|
2751 | ||
|
0
Jan 21
|
1708 | ||
|
2
Oct 17
|
3331 | ||
|
0
Jun 24
|
219 | ||
|
0
Oct 24
|
1859 |