summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorJulien Mougenot <jum@odoo.com>2020-06-09 08:13:02 +0000
committerJulien Mougenot <jum@odoo.com>2020-06-09 09:24:21 +0000
commita3e5ac19b20d79e1d90166961de792a0bd31e550 (patch)
tree7803693fbcaa5d20dde42b0baf12e3fe4eb9a29d /addons/web/static/src
parentb61a3c974441f732dbfb3bd4087fbcf085c8cedc (diff)
[REF] web: update control panel doc
Class documentation for the control panel component has been updated to reflect the changes on the comparison menu and the advanced search. closes odoo/odoo#52662 Related: odoo/enterprise#11022 Signed-off-by: Mathieu Duckerts-Antoine <Polymorphe57@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/js/control_panel/control_panel.js22
1 files changed, 10 insertions, 12 deletions
diff --git a/addons/web/static/src/js/control_panel/control_panel.js b/addons/web/static/src/js/control_panel/control_panel.js
index 554912175bb..b315893076a 100644
--- a/addons/web/static/src/js/control_panel/control_panel.js
+++ b/addons/web/static/src/js/control_panel/control_panel.js
@@ -52,11 +52,11 @@ odoo.define('web.ControlPanel', function (require) {
* ┌ View Controller | Action ----------------------------------------------------------┐
* | ┌ Control Panel ──────────────┬──────────────────────────────────────────────────┐ |
* | │ ┌ Breadcrumbs ────────────┐ │ ┌ Search View ─────────────────────────────────┐ │ |
- * | │ │ [1] / [2] │ │ │ [3] [ ============== 4 =============== ] [5] │ │ |
+ * | │ │ [1] / [2] │ │ │ [3] [ ================ 4 ================= ] │ │ |
* | │ └─────────────────────────┘ │ └──────────────────────────────────────────────┘ │ |
* | ├─────────────────────────────┼──────────────────────────────────────────────────┤ |
* | │ ┌ Buttons ┐ ┌ ActionMenus ┐ │ ┌ Search Menus ─────┐ ┌ Pager ┐┌ View switcher ┐ │ |
- * | │ │ [6] │ │ [7] │ │ │ [8] [9] [10] [11] │ │ [12] ││ [13] │ │ |
+ * | │ │ [5] │ │ [6] │ │ │ [7] [8] [9] [10] │ │ [11] ││ [12] │ │ |
* | │ └─────────┘ └─────────────┘ │ └───────────────────┘ └───────┘└───────────────┘ │ |
* | └─────────────────────────────┴──────────────────────────────────────────────────┘ |
* | ┌ View Renderer | Action content ────────────────────────────────────────────────┐ |
@@ -73,17 +73,15 @@ odoo.define('web.ControlPanel', function (require) {
* 3. Search facets: a collection of facet components generated by the `ControlPanelModel`
* and handled by the `SearchBar` component. @see SearchFacet
* 4. SearchBar: @see SearchBar
- * 5. Advanced search: small buttons used to toggle the [Search Menus] section.
- * Will not be displayed if the allowed `props.searchMenuTypes` list is empty.
- * 6. Buttons: section in which the action|controller is meant to inject its control
+ * 5. Buttons: section in which the action|controller is meant to inject its control
* buttons. The template provides a slot for this purpose.
- * 7. Action menus: @see ActionMenus
- * 8. Filter menu: @see FilterMenu
- * 9. Group by menu: @see GroupByMenu
- * 10. Time range menu: @see TimeRangeMenu
- * 11. Favorite menu: @see FavoriteMenu
- * 12. Pager: @see Pager
- * 13. View switcher buttons: list of buttons composed by the `props.views` collection.
+ * 6. Action menus: @see ActionMenus
+ * 7. Filter menu: @see FilterMenu
+ * 8. Group by menu: @see GroupByMenu
+ * 9. Comparison menu: @see ComparisonMenu
+ * 10. Favorite menu: @see FavoriteMenu
+ * 11. Pager: @see Pager
+ * 12. View switcher buttons: list of buttons composed by the `props.views` collection.
*
* Subcomponents (especially in the [Search Menus] section) will call
* the ControlPanelModel to get processed information about the current view|action.