a6401391ed305f4382bc66f895dfd8e1860bef08
Now that Date/Datetime fields use python naive datetime, we want to prevent developper to call or assign aware datetime to fields. Moreover, if so, the timezone will be stored in the database, but when reading Datetime fields, we expect naive datetime. Comparing naive and aware datetime objects leads to errors. This commit forces developpers to use naive datetime when saving data in database. As example, we have to erase the timezone of dates in calendar modules. We also regroup the 2 assignations in one call to `write` for performance reason. Thanks to @dbeguin and @RomainLibert for spending some time on this bug.
…
…
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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%