Skip to content
Snippets Groups Projects
Commit 1b9c7fec authored by Aaron Bohy's avatar Aaron Bohy
Browse files

[FIX] web: form: reset date field value if onchange fails


Have a form view with a date or datetime field with onchange.
Change its value to trigger the onchange. If the onchange fails,
we want to revert the value to the original one. Before this commit
it didn't work, because the datepicker blocked the update when the
props were the same, which was the case in this situation.

Task~3498849

closes odoo/odoo#134792

Signed-off-by: default avatarFrancois Georis (fge) <fge@odoo.com>
parent 3fdfbf2a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment