summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2012-06-20 18:41:44 +0200
committerAntony Lesuisse <al@openerp.com>2012-06-20 18:41:44 +0200
commit3939df18a2d4e6dd09e8d3ed35710f2a5f5ca40c (patch)
tree95f89d6f6b4255bb42baaf7f0dd681580dc2a565 /addons/web/static/src/xml
parent855c4258a2d738ac6b2396f00ab23ef234be95af (diff)
[FIX] display form switch
bzr revid: al@openerp.com-20120620164144-xo8enp0i4hmqf50l
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 66bd4a98c27..e293ffc7adb 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -421,8 +421,8 @@
</td>
<td>
<ul class="oe_view_manager_switch oe_button_group oe_right">
- <t t-if="widget.views_src.length > 2" t-foreach="widget.views_src" t-as="view">
- <li t-if="view.view_type != 'form'" class="oe_e"><a t-attf-class="oe_vm_switch_#{view.view_type}" t-att-data-view-type="view.view_type" t-att-title="_t('Switch to ') + (view.label || view.view_type)">
+ <t t-if="widget.views_src.length > 1" t-foreach="widget.views_src" t-as="view">
+ <li class="oe_e"><a t-attf-class="oe_vm_switch_#{view.view_type}" t-att-data-view-type="view.view_type" t-att-title="_t('Switch to ') + (view.label || view.view_type)">
</a></li>
</t>
</ul>