41d135d8602aecf0197fbbd1c581143707d434fe
__Current behavior before commit:__ When `context_today()` is in a domain, UTC is used. However this is not consistent with [the legacy method](https://github.com/odoo/odoo/blob/81183495a07eb5928b29ae56f3f86671234d602c/addons/web/static/src/legacy/js/core/py_utils.js#L232) used before OWL migration. This has the consequence that filters with this method in their domain will not behave correctly and use UTC date instead of the actual date of the user. __Description of the fix:__ Switch the UTC methods calls to regular ones. __To reproduce:__ (Reproducible only in Odoo 16, since the old method is still used in 15) 1. Change computer date and timezone so that UTC date is not the same as your date (e.g. if timezone is CEST, set the hour to 1am) 1. On any record, schedule an activity with the due date to today. 1. In the Activities notifications panel, click on **1 Today** 1. The page display nothing because it will filter by the previous day. opw-3423316 closes odoo/odoo#137798 X-original-commit: e41dcde8d66c74c8ad114c76ea6ed9c607e04455 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%