diff --git a/setup/web_search_with_and/odoo/addons/web_search_with_and b/setup/web_search_with_and/odoo/addons/web_search_with_and new file mode 120000 index 000000000..d32981712 --- /dev/null +++ b/setup/web_search_with_and/odoo/addons/web_search_with_and @@ -0,0 +1 @@ +../../../../web_search_with_and \ No newline at end of file diff --git a/setup/web_search_with_and/setup.py b/setup/web_search_with_and/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/web_search_with_and/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/web_search_with_and/static/src/js/search.js b/web_search_with_and/static/src/js/search.js index fc7380f7c..d543694ca 100644 --- a/web_search_with_and/static/src/js/search.js +++ b/web_search_with_and/static/src/js/search.js @@ -1,4 +1,4 @@ -odoo.define("web_search_with_and", function(require) { +odoo.define("web_search_with_and", function (require) { "use strict"; var searchBarAutocompleteRegistry = require("web.search_bar_autocomplete_sources_registry"); @@ -6,7 +6,7 @@ odoo.define("web_search_with_and", function(require) { SearchBar.include({ // Override the base method to detect a "shift" event - _onAutoCompleteSelected: function(e, ui) { + _onAutoCompleteSelected: function (e, ui) { var values = ui.item.facet.values; if ( e.shiftKey &&