summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2012-05-10 11:01:29 +0200
committerFabien Meghazi <fme@openerp.com>2012-05-10 11:01:29 +0200
commita42cd1e25af25f4a8f4cc7a43d7d4ad0d5515711 (patch)
treefd6f469023892289bd591a1a40dbd9fdfed2b2d6 /addons/web/static/src/xml/base.xml
parentfa67e8f0c37ea439d2549c67ab30327a55b38541 (diff)
[FIX] Show all view switcher buttons
bzr revid: fme@openerp.com-20120510090129-ssi1o6xrpqlo1aqk
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index ae11787adfd..48a2f0b3089 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -433,7 +433,7 @@
<div class="oe_header_row">
<div class="oe_view_manager_buttons oe_left"/>
<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">
+ <t t-if="widget.views_src.length > 1" t-foreach="widget.views_src" t-as="view">
<li t-if="view.view_type != 'form'"><a t-attf-class="oe_vm_switch_#{view.view_type} oe_i" t-att-data-view-type="view.view_type" t-att-title="view.label || view.view_type">
</a></li>
</t>