Before this commit, searching a many2one field in the search bar would create a domain with a parsed version of the input string. However the parser of m2o fields returns a number (ID) and would consistently return 'NaN'. Now, raw values are taken as is when searching with many2one fields. Task 2239254 closes odoo/odoo#50410 X-original-commit: bac74010daae868da474de9439bc7027d9206e38 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Signed-off-by: Julien Mougenot (jum) <jum@odoo.com>