[FIX] Add to shortcuts button

This commit is contained in:
tarteo
2017-02-23 15:39:09 +01:00
parent 79639d95cb
commit cf1cd07dd2
3 changed files with 41 additions and 29 deletions

View File

@@ -18,20 +18,14 @@
</a>
</li>
</t>
<!--
<t t-extend="ViewManagerAction">
<t t-jquery="h2.oe_view_title" t-operation="prepend">
<a t-if="widget.flags.display_title !== false" class="oe_shortcut_toggle" title="Add / Remove Shortcut..."
href="javascript: void(0)"> </a>
</t>
</t>
-->
<t t-extend="ControlPanel">
<t t-jquery="ol.oe-view-title" t-operation="prepend">
<a t-if="widget.flags.display_title !== false" class="oe_shortcut_toggle" title="Add / Remove Shortcut..."
<t t-jquery="ol.oe-view-title" t-operation="before">
<t t-js="ctx">
console.log(ctx);
</t>
<a class="oe_shortcut_toggle" title="Add / Remove Shortcut..."
href="javascript: void(0)"> </a>
</t>
</t>
</templates>