Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] survey: handle error.datetimepicker in survey's datetimepicker
Purpose of this commit is to handle error.datetimepicker event of datetimepicker element. If not handled then window.onerror will handle it and give unexpected warning via crashmanager. Note that this issue comes from commit e6d4ab8 which binds window.onerror in frontend also and hence uncaught javascript error is also handled by it. As we do not want to raise crashmanager if user enters wrong value in datetimepicker let us handle it in survey.js correctly. Task 2044512 Also see odoo#32132 closes odoo#35609 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
- Loading branch information