6d3bfbe47c8487184ea90668456f8e516c4cf1ed
This commit deactivates the daterangepicker from reacting to the `input` keyup events. The handler for input keyup must only be the parent because daterangepicker does not have access to both the start and end date inputs. As a consequence of not having access to both inputs, the daterangepicker always sets the end date to the start date when a date input is modified. **Steps to reproduce:** - Go to the event app and open a record - Click on an input of the date range picker, and the picker opens - Move the cursor in the input with the keyboard (right or left arrow) - The picker loses the range **Current behavior:** The picker sets the end date to the start date whenever there is an onKeyup event on the input. **Expected behavior:** The picker should not reset the end date when there is an onKeyup event on the input. closes odoo/odoo#115834 Ticket-id: 3198864 X-original-commit: 2a1857db4bee43ff266b4be279791c9b5c957085 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%