Files
odoo_source/addons
FrancoisGe 70a80d4cd1 [FIX] web: click on wrong options in autocomplete
The purpose of this commit is to fix an indeterminate error in
the test_03_sale_quote_tour.

Error: UncaughtTypeError: Cannot read properties of undefined (reading
'unselectable')

Why:
In the autocomplete component, it is possible to replace the sources
without it being rerender. It is therefore possible to click on a option
that no longer exists in the component's internal state, which causes
the crash.

Solution:
We wait that all the sources are loaded before replacing them.

closes odoo/odoo#103497

X-original-commit: f25df0be75082caf9e8ed62c581a13fe82a27546
Signed-off-by: Samuel Degueldre <sad@odoo.com>
Signed-off-by: Georis François (fge) <fge@odoo.com>
2022-10-20 10:19:47 +02:00
..
2022-10-11 13:15:12 +02:00
2022-10-06 14:56:52 +02:00
2022-10-19 16:09:55 +02:00
2022-10-11 13:15:53 +02:00
2022-10-11 13:15:54 +02:00
2022-10-11 17:59:08 +02:00
…
2022-10-06 14:56:52 +02:00