diff options
| author | Julien Mougenot <jum@odoo.com> | 2020-04-20 10:01:57 +0000 |
|---|---|---|
| committer | Julien Mougenot <jum@odoo.com> | 2020-04-29 15:30:27 +0000 |
| commit | 6fc3bee255b4f2be9fe5a296eb81a1ae879d7282 (patch) | |
| tree | f380d288c45abc4004a37a7a10db315db57b60b0 /addons/web/static/src/js/fields | |
| parent | ea143795e9064823e5bed2c7ef817c52d2a0dff8 (diff) | |
[FIX] web: search many2one fields with correct value
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>
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions
