fff7334d09efee0a7cf1d4410f90122a88cdc3d7
- First issue The format passed to the daterangepicker locale options could have been wrong as the daterangepicker lib uses moment and we would pass to it the date(time) format expressed with luxon's format tokens. Furthermore, there was no need to pass the format to the daterangepicker library as the DateRangeField component already handles this. - Second issue There was also another issue with the DateRangeField component: When applying the daterangepicker values, the conversion between a moment object to a luxon DateTime object was wrong because of the format used to convert the moment object to a string. - Explanation The format tokens are different between luxon and moment. - After this commit An helper function has been introduced in order to transform a luxon format into a moment format. The DateRangeField component now properly converts a moment object to a luxon's DateTime object when applying the daterangepicker selection. - Additional note Also, the DatePicker component was locally converting the luxon's datetime format and thus has been adapted to use the new helper. closes odoo/odoo#98578 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%