From 9766608c6f6a9c63689107c3156c88f13106f6e8 Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Mon, 1 Feb 2016 17:58:48 +0100 Subject: [PATCH] [FIX] support self in domains --- .../static/src/js/web_search_autocomplete_prefetch.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web_search_autocomplete_prefetch/static/src/js/web_search_autocomplete_prefetch.js b/web_search_autocomplete_prefetch/static/src/js/web_search_autocomplete_prefetch.js index ae663510..b9f82588 100644 --- a/web_search_autocomplete_prefetch/static/src/js/web_search_autocomplete_prefetch.js +++ b/web_search_autocomplete_prefetch/static/src/js/web_search_autocomplete_prefetch.js @@ -20,6 +20,7 @@ openerp.web_search_autocomplete_prefetch = function(instance) { switch(name) { + case 'label': return value; case 'value': return value; case 'operator': return 'ilike'; }