summaryrefslogtreecommitdiff
path: root/addons/web_view_editor/static/src/xml
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_view_editor/static/src/xml
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_view_editor/static/src/xml')
-rw-r--r--addons/web_view_editor/static/src/xml/view_editor.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/web_view_editor/static/src/xml/view_editor.xml b/addons/web_view_editor/static/src/xml/view_editor.xml
index e93fb3bd3ff..9dd77818e17 100644
--- a/addons/web_view_editor/static/src/xml/view_editor.xml
+++ b/addons/web_view_editor/static/src/xml/view_editor.xml
@@ -63,4 +63,9 @@
<t t-name="vieweditor_boolean">
<input type="checkbox" t-att-id="widget.name"/>
</t>
+<t t-extend="WebClient.DebugDropdown">
+ <t t-jquery="li.oe_edit_view" t-operation="before">
+ <li><a href="#" data-action="manage_views">Manage Views</a></li>
+ </t>
+</t>
</template>