summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/view_manager.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2015-02-12 18:03:27 +0100
committerAaron Bohy <aab@odoo.com>2015-03-20 16:18:35 +0100
commit7aa08364200936883b62a8389a5da714d0a40d6b (patch)
tree5c05fbb914d2dc531ed77ef1ea4700f11a406b84 /addons/web/static/src/js/view_manager.js
parent151c90743efd374e72bf1b18f5ae0c392a3811ac (diff)
[IMP] Web: views.js, view_editor.js: DebugManager
Creation of a widget for the DebugManager and move it from the ControlPanel to the Systray. Refactoring of the widget to improve/facilitate the way of adding options in the DebugManager as the view_editor does. Add a do_action() function in the WebClient that forwards the action to the main ActionManager so that widget that are not in the scope of the ActionManager (e.g. Menu) can performed actions as well. Note: The DebugManager is currently in the Systray but it will finally be moved to a dedicated spot above the ControlPanel.
Diffstat (limited to 'addons/web/static/src/js/view_manager.js')
-rw-r--r--addons/web/static/src/js/view_manager.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/web/static/src/js/view_manager.js b/addons/web/static/src/js/view_manager.js
index 94af0912907..2438555e7a8 100644
--- a/addons/web/static/src/js/view_manager.js
+++ b/addons/web/static/src/js/view_manager.js
@@ -139,6 +139,9 @@ var ViewManager = Widget.extend({
this.searchview = searchview;
this.search_view_loaded = search_view_loaded_def;
},
+ get_search_view: function() {
+ return this.searchview;
+ },
/**
* Executed on event "search_data" thrown by the SearchView
*/