Skip to content

Commit a4da113

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

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
@@ -2390,58 +2390,58 @@ Possible children elements of the search view are:
23902390
* ``multi`` several values can be selected (checkboxes). Supported field
23912391
types are many2one, many2many and selection.
23922392

2393-
``groups``
2394-
restricts to specific users
2393+
``groups``
2394+
restricts to specific users
23952395

2396-
``string``
2397-
determines the label to display
2396+
``string``
2397+
determines the label to display
23982398

2399-
``icon``
2400-
specifies which icon is used
2399+
``icon``
2400+
specifies which icon is used
24012401

2402-
``color``
2403-
determines the icon color
2402+
``color``
2403+
determines the icon color
24042404

2405-
Additional optional attributes are available in the ``multi`` case:
2405+
Additional optional attributes are available in the ``multi`` case:
24062406

2407-
.. rst-class:: o-definition-list
2407+
.. rst-class:: o-definition-list
24082408

2409-
``enable_counters``
2410-
default is false. If set to true the record counters will be computed and
2411-
displayed if non-zero.
2409+
``enable_counters``
2410+
default is false. If set to true the record counters will be computed and
2411+
displayed if non-zero.
24122412

2413-
This feature has been implemented in case performances would be too bad.
2413+
This feature has been implemented in case performances would be too bad.
24142414

2415-
Another way to solve performance issues is to properly override the
2416-
``search_panel_select_range`` and ``search_panel_select_multi_range`` methods.
2415+
Another way to solve performance issues is to properly override the
2416+
``search_panel_select_range`` and ``search_panel_select_multi_range`` methods.
24172417

2418-
``expand``
2419-
default is false. If set to false categories or filters with 0 records will be hidden.
2418+
``expand``
2419+
default is false. If set to false categories or filters with 0 records will be hidden.
24202420

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

2427-
Additional optional attributes are available according to the chosen case:
2427+
Additional optional attributes are available according to the chosen case:
24282428

2429-
- For the ``one`` case:
2429+
- For the ``one`` case:
24302430

2431-
.. rst-class:: o-definition-list
2431+
.. rst-class:: o-definition-list
24322432

2433-
``hierarchize``
2434-
(only available for many2one fields) default is true. Handles the display style of categories :
2433+
``hierarchize``
2434+
(only available for many2one fields) default is true. Handles the display style of categories :
24352435

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

2439-
- For the ``multi`` case:
2439+
- For the ``multi`` case:
24402440

2441-
.. rst-class:: o-definition-list
2441+
.. rst-class:: o-definition-list
24422442

2443-
``domain``:
2444-
determines conditions that the comodel records have to satisfy.
2443+
``domain``:
2444+
determines conditions that the comodel records have to satisfy.
24452445

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

0 commit comments

Comments
 (0)