[ADD] note about non-standard fields in facets and facet values

bzr revid: xmo@openerp.com-20120521072500-bzjlrybvtepgryq2
This commit is contained in:
Xavier Morel 2012-05-21 09:25:00 +02:00
parent 1568d25eb0
commit 1c09d982bc
1 changed files with 11 additions and 2 deletions

View File

@ -376,8 +376,17 @@ necessarily having to reimplement all of
or ``@filter_domain``. ``"="`` for
:js:class:`~openerp.web.search.Field`
Converting to facet objects
---------------------------
Arbitrary data storage
++++++++++++++++++++++
:js:class:`~openerp.web.search.Facet` and
:js:class:`~openerp.web.search.FacetValue` objects (and structures)
provided by your widgets should never be altered by the search view
(or an other widget). This means you are free to add arbitrary fields
in these structures if you need to (because you have more complex
needs than the attributes described in this document).
Ideally this should be avoided, but the possibility remains.
Changes
-------