diff options
| author | Harpritsinh Sisodiya <hsi@odoo.com> | 2019-08-28 11:47:37 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2019-09-03 12:14:05 +0000 |
| commit | fbbfa6ddcaf5cb8ef75672a73d1a928704484850 (patch) | |
| tree | 0a87f2d6b9fe7c3c8584e1fff4f6d69a9378e591 /addons/mail/static/src/js/models/threads | |
| parent | 85c5d0a4be4bf7afb7d15f0b5a07cc0daecaa1a5 (diff) | |
[FIX] web: datepicker: crash on invalid date
There is an open issue on the tempusdominus lib:
https://github.com/tempusdominus/bootstrap-4/issues/223
It occurs when there is a valid value in a date(time) field, and
the user unsets it by setting an invalid one.
This rev. fixes the issue in Odoo by preventing to reach the buggy
piece of code in the lib. In a few words, when the user sets an
invalid date, we reset the previous valid date (which is what the
lib tries to do anyway).
Task 2057009
closes odoo/odoo#36211
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Co-authored-by: Aaron Bohy <aab@odoo.com>
Diffstat (limited to 'addons/mail/static/src/js/models/threads')
0 files changed, 0 insertions, 0 deletions
