summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2014-06-25 13:26:41 +0200
committerGéry Debongnie <ged@odoo.com>2014-06-25 13:26:41 +0200
commit0a4a7f3d20e3cce435824d3aa756346088b0c73b (patch)
tree821542b3b79725b904dd9d4a42d2b75b13f6a067 /addons/web/static/src/xml
parent1eaa69d342e61334b04fac2943877fff1b69b287 (diff)
[IMP] new autocomplete widget
Task #5009 This new autocomplete widget (the one used in the search bar) does not do remote calls automatically, but on demand. In theory, it should lead to a better user experience, not having the ui blocked every time long remote calls are done. It also has the benefits of bringing us one step closer to not depending on jquery.ui. Bonus point: the code is quite short (< 200 loc i believe)
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 69af5cbe91d..1caef25a907 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1802,6 +1802,10 @@
</select>
</t>
+<div t-name="SearchView.autocomplete" class="oe-autocomplete">
+ <ul>
+ </ul>
+</div>
<t t-name="ExportView">
<a id="exportview" href="javascript: void(0)" style="text-decoration: none;color: #3D3D3D;">Export</a>
</t>