diff options
| author | Xavier Morel <xmo@openerp.com> | 2011-09-12 15:05:18 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2011-09-12 15:05:18 +0200 |
| commit | ab6f81825c40761b7a648278ab6ebbcfb1f81133 (patch) | |
| tree | d7b15b9915bb3def89ca642b10d2913c39ffa17f /addons/web/static/src/xml/base.xml | |
| parent | 1b5e641ff4602bf8958311348d1d6c5de8468415 (diff) | |
| parent | 0f9c39acdb3baf3a84a2cc00c32a9c07fe5229c1 (diff) | |
[FIX] avoid shortcut-star appearing in o2m fields
lp bug: https://launchpad.net/bugs/842545 fixed
bzr revid: xmo@openerp.com-20110912130518-kmvebgjdwzz30ibj
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 8b0fda2b83f..c97b9d5b049 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -420,8 +420,6 @@ <table class="view-manager-main-table"> <tr> <td class="view-manager-main-content"> - <a class="oe-shortcut-toggle" title="Add / Remove Shortcut..." - href="javascript: void(0)"> </a> <div class="oe_vm_switch"> <t t-if="views.length != 1" t-foreach="views" t-as="view"> <button type="button" t-att-data-view-type="view.view_type"> @@ -442,6 +440,14 @@ </tr> </table> </t> + +<t t-extend="ViewManager" t-name="ViewManagerAction"> + <t t-jquery=".view-manager-main-content" t-operation="prepend"> + <a class="oe-shortcut-toggle" title="Add / Remove Shortcut..." + href="javascript: void(0)"> </a> + </t> +</t> + <t t-name="Sidebar"> <a class="toggle-sidebar"></a> <div class="sidebar-content"> |
