the search method should return a Deferred as explicit in MediaDialog OPW 1919549 closes odoo/odoo#30077
152519cd65
d112a163cd