s/falsy//

bzr revid: daniel@daniel-watkins.co.uk-20110414212343-aam4fc6nxgkxmnwz
This commit is contained in:
Daniel Watkins 2011-04-14 22:23:43 +01:00
parent 8b4fd86743
commit 417bdbf690
1 changed files with 4 additions and 4 deletions

View File

@ -71,7 +71,7 @@ An important concept in the search view is that of input. It is both
an informal protocol and an abstract type that can be inherited from. an informal protocol and an abstract type that can be inherited from.
Inputs are widgets which can contain user data (a char widget for Inputs are widgets which can contain user data (a char widget for
instance, or a selection box). They are able of action and of instance, or a selection box). They are capable of action and of
reaction: reaction:
.. _views-search-registration: .. _views-search-registration:
@ -93,9 +93,9 @@ reaction:
* Return a context (an object), this is the "normal" response if the * Return a context (an object), this is the "normal" response if the
input holds a value. input holds a value.
* Return a falsy value (generally ``null``). This value indicates * Return a value that evaluates as false (generally ``null``). This
the input does not contain any value and will not take part in the value indicates the input does not contain any value and will not
research. take part in the research.
* Raise :js:class:`openerp.base.search.Invalid` to indicate that it * Raise :js:class:`openerp.base.search.Invalid` to indicate that it
holds a value but this value can not be used in the search holds a value but this value can not be used in the search