summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqmo-odoo <qmo@odoo.com>2020-01-16 08:31:35 +0000
committerThibault Delavallée <tde@odoo.com>2020-02-18 09:24:26 +0000
commit9444d25db9b6671d709624b1029501dd07a7cc8a (patch)
tree282c14031bc34e8e1419482e4ab8c95e0604c142
parenta3f102db491e2cdcbb0c62ae5abf0afd2674a1d0 (diff)
[IMP] website_event: deactivate some custom views by default
Before this commit, in the "customize" menu on /event, custom views enabling filters by "category, country" and the "show sidebar" were activated by default. This commit deactivates them by default. Reason behind this change is that most people don't have enough events to justify having those filters on by default. LINKS TaskID 2162438 Community PR odoo/odoo#44476 Co-Authored-By: David Beguin <dbe@odoo.com> Co-Authored-By: Quentin Mourier <qmo@odoo.com>
-rw-r--r--addons/website_event/views/event_templates.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/website_event/views/event_templates.xml b/addons/website_event/views/event_templates.xml
index 2855de26591..9f705c987e8 100644
--- a/addons/website_event/views/event_templates.xml
+++ b/addons/website_event/views/event_templates.xml
@@ -32,7 +32,7 @@
</template>
<!-- Index - OPTION - Sidebar -->
-<template id="opt_index_sidebar" inherit_id="website_event.index" active="True" customize_show="True" name="Show Sidebar">
+<template id="opt_index_sidebar" inherit_id="website_event.index" active="False" customize_show="True" name="Show Sidebar">
<xpath expr="//div[@id='o_wevent_index_main_col']" position="after">
<t t-call="website_event.index_sidebar"/>
</xpath>
@@ -76,7 +76,7 @@
</template>
<!-- Filter - Category -->
-<template id="event_category" inherit_id="website_event.index_topbar" active="True" customize_show="True" name="Filter by Category">
+<template id="event_category" inherit_id="website_event.index_topbar" active="False" customize_show="True" name="Filter by Category">
<xpath expr="//ul[hasclass('o_wevent_index_topbar_filters')]" position="inside">
<li class="nav-item dropdown mr-2 my-1 my-lg-0">
<a href="#" role="button" class="btn dropdown-toggle" data-toggle="dropdown">
@@ -99,7 +99,7 @@
</template>
<!-- Filter - Location -->
-<template id="event_location" inherit_id="website_event.index_topbar" active="True" customize_show="True" name="Filter by Country">
+<template id="event_location" inherit_id="website_event.index_topbar" active="False" customize_show="True" name="Filter by Country">
<xpath expr="//ul[hasclass('o_wevent_index_topbar_filters')]" position="inside">
<li class="nav-item dropdown mr-2 my-1 my-lg-0">
<a href="#" role="button" class="btn dropdown-toggle" data-toggle="dropdown">