[FIX] web: fix DataSetSearch to avoid race conditions
[FIX] web: fix DataSetSearch to avoid race conditions

This is a following of revision
ab8a93c85268a4d7fc0bef10c0f39fb25d1530c6

This revision solves a new case:
when quickly performing a second search
after one which has not been resolved yet in a kanban view, and the second
search is resolved before the first, it was not possible to load the form
by clicking the card of the kanban, it leaded to a
`Could not find id in dataset` web client error

This was because the ids of the dataset were altered with
the ids of the first search (the one that lasted longer), while
the records displayed were the ones of the second search
(the one that finished first)

opw-682362

ygol/odoo,Elico-Corp/odoo_OCB,bplancher/odoo,Elico-Corp/odoo_OCB,laslabs/odoo,storm-computers/odoo,bplancher/odoo,Elico-Corp/odoo_OCB,bplancher/odoo,hip-odoo/odoo,hip-odoo/odoo,storm-computers/odoo,storm-computers/odoo,bplancher/odoo,bplancher/odoo,microcom/odoo,storm-computers/odoo,dfang/odoo,storm-computers/odoo,microcom/odoo,dfang/odoo,laslabs/odoo,hip-odoo/odoo,hip-odoo/odoo,microcom/odoo,laslabs/odoo,bplancher/odoo,dfang/odoo,ygol/odoo,dfang/odoo,Elico-Corp/odoo_OCB,dfang/odoo,hip-odoo/odoo,dfang/odoo,laslabs/odoo,hip-odoo/odoo,microcom/odoo,ygol/odoo,storm-computers/odoo,laslabs/odoo,microcom/odoo,Elico-Corp/odoo_OCB,ygol/odoo,ygol/odoo,Elico-Corp/odoo_OCB,ygol/odoo,microcom/odoo,laslabs/odoo,ygol/odoo