Skip to content

Commit 7a936c9

Browse files
committed
[FIX] search panel: fix bad indentation
closes #6197 X-original-commit: 82055c1 Signed-off-by: Antoine Vandevenne (anv) <[email protected]> Signed-off-by: Mathieu Duckerts-Antoine (dam) <[email protected]>
1 parent 4abe6da commit 7a936c9

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

content/developer/reference/backend/views.rst

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2229,58 +2229,58 @@ Possible children elements of the search view are:
22292229
* ``multi`` several values can be selected (checkboxes). Supported field
22302230
types are many2one, many2many and selection.
22312231

2232-
``groups``
2233-
restricts to specific users
2232+
``groups``
2233+
restricts to specific users
22342234

2235-
``string``
2236-
determines the label to display
2235+
``string``
2236+
determines the label to display
22372237

2238-
``icon``
2239-
specifies which icon is used
2238+
``icon``
2239+
specifies which icon is used
22402240

2241-
``color``
2242-
determines the icon color
2241+
``color``
2242+
determines the icon color
22432243

2244-
Additional optional attributes are available in the ``multi`` case:
2244+
Additional optional attributes are available in the ``multi`` case:
22452245

2246-
.. rst-class:: o-definition-list
2246+
.. rst-class:: o-definition-list
22472247

2248-
``enable_counters``
2249-
default is false. If set to true the record counters will be computed and
2250-
displayed if non-zero.
2248+
``enable_counters``
2249+
default is false. If set to true the record counters will be computed and
2250+
displayed if non-zero.
22512251

2252-
This feature has been implemented in case performances would be too bad.
2252+
This feature has been implemented in case performances would be too bad.
22532253

2254-
Another way to solve performance issues is to properly override the
2255-
``search_panel_select_range`` and ``search_panel_select_multi_range`` methods.
2254+
Another way to solve performance issues is to properly override the
2255+
``search_panel_select_range`` and ``search_panel_select_multi_range`` methods.
22562256

2257-
``expand``
2258-
default is false. If set to false categories or filters with 0 records will be hidden.
2257+
``expand``
2258+
default is false. If set to false categories or filters with 0 records will be hidden.
22592259

2260-
``limit``
2261-
default is 200. Integer determining the maximal number of values to fetch for the field.
2262-
If the limit is reached, no values will be displayed in the search panel and an error message will
2263-
appear instead because we consider that is useless / bad performance-wise. All values will be
2264-
fetched if set to 0.
2260+
``limit``
2261+
default is 200. Integer determining the maximal number of values to fetch for the field.
2262+
If the limit is reached, no values will be displayed in the search panel and an error message will
2263+
appear instead because we consider that is useless / bad performance-wise. All values will be
2264+
fetched if set to 0.
22652265

2266-
Additional optional attributes are available according to the chosen case:
2266+
Additional optional attributes are available according to the chosen case:
22672267

2268-
- For the ``one`` case:
2268+
- For the ``one`` case:
22692269

2270-
.. rst-class:: o-definition-list
2270+
.. rst-class:: o-definition-list
22712271

2272-
``hierarchize``
2273-
(only available for many2one fields) default is true. Handles the display style of categories :
2272+
``hierarchize``
2273+
(only available for many2one fields) default is true. Handles the display style of categories :
22742274

2275-
If set to true child categories will appear under their related parent.
2276-
If not, all categories will be displayed on the same level.
2275+
If set to true child categories will appear under their related parent.
2276+
If not, all categories will be displayed on the same level.
22772277

2278-
- For the ``multi`` case:
2278+
- For the ``multi`` case:
22792279

2280-
.. rst-class:: o-definition-list
2280+
.. rst-class:: o-definition-list
22812281

2282-
``domain``:
2283-
determines conditions that the comodel records have to satisfy.
2282+
``domain``:
2283+
determines conditions that the comodel records have to satisfy.
22842284

22852285
A domain might be used to express a dependency on another field (with select="one")
22862286
of the search panel. Consider

0 commit comments

Comments
 (0)