-
- Downloads
[FIX] web: use dot or comma in date format
The new datepicker doesn't work properly with date formats using dots or commas Steps to reproduce: 1. Install Sales 2. Set the language date format to `%m.%d.%Y` and refresh the page 3. Open Sales and trigger the pivot view 4. Add a custom filter on field 'Delivery Date' 5. Click on the date to change it, the format changes 6. Try to enter a date, it is incorrectly parsed Solution: Add dot and comma as a possible character for static format Problem: Formats using dots were not considered as valid static format so the value entered was parsed with the format `yyyy/MM/dd` instead Partial backport of https://github.com/odoo/odoo/commit/5f17d8974652f9606cb57f909c143d15046f1854 opw-3222468 closes odoo/odoo#119235 Signed-off-by:Bruno Boi (boi) <boi@odoo.com>
Please register or sign in to comment