summaryrefslogtreecommitdiff
path: root/addons/web/doc
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2013-02-13 10:01:08 +0100
committerXavier Morel <xmo@openerp.com>2013-02-13 10:01:08 +0100
commitdfb7493034f2b102d647967654f5c99893450e2b (patch)
tree7deca71ca48e43052ef5e618a01d83addf5bfeee /addons/web/doc
parentf690a9310c6b78848a7caf95e87abfdce478baba (diff)
[FIX] add support for invisibility to fields (don't complete an invisible field)
bzr revid: xmo@openerp.com-20130213090108-h38emnwscgb5v1pu
Diffstat (limited to 'addons/web/doc')
-rw-r--r--addons/web/doc/search_view.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/addons/web/doc/search_view.rst b/addons/web/doc/search_view.rst
index 16a91c5e9ac..12b0eaf3104 100644
--- a/addons/web/doc/search_view.rst
+++ b/addons/web/doc/search_view.rst
@@ -107,6 +107,12 @@ formatted differently). If an input *may* fetch multiple completion
items, it *should* prefix those with a section title using its own
name. This has no technical consequence but is clearer for users.
+.. note::
+
+ If a field is :js:func:`invisible
+ <openerp.web.search.Input.visible>`, its completion function will
+ *not* be called.
+
Providing drawer/supplementary UI
+++++++++++++++++++++++++++++++++
@@ -145,6 +151,11 @@ started only once (per view).
dynamically collects, lays out and renders filters? =>
exercises drawer thingies
+.. note::
+
+ An :js:func:`invisible <openerp.web.search.Input.visible>` input
+ will not be inserted into the drawer.
+
Converting from facet objects
+++++++++++++++++++++++++++++