From 26d641f207cf1d12d162453dc7ad6191a251be93 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Fri, 11 Jan 2019 12:17:21 +0000 Subject: [PATCH] [FIX] web_advanced_search: Ignore field domain If we honor the domain value, the user may not be getting all available records when selecting from an x2many dropdown, or even worse, if the domain references another field in the view, the user may be getting an error when opening the field dropdown, like this: Error: NameError: name 'company_id' is not defined http://localhost/web/static/lib/py.js/lib/py.js:370 Rastreo de error: PY_ensurepy@http://localhost/web/static/lib/py.js/lib/py.js:370:19 py.evaluate@http://localhost/web/static/lib/py.js/lib/py.js:1340:20 py.evaluate@http://localhost/web/static/lib/py.js/lib/py.js:1397:35 py.evaluate@http://localhost/web/static/lib/py.js/lib/py.js:1409:34 py.eval@http://localhost/web/static/lib/py.js/lib/py.js:1453:16 eval_domains/<@http://localhost/web/static/src/js/core/pyeval.js:886:39 _.forEach@http://localhost/web/static/lib/underscore/underscore.js:145:9 _.mixin/