[FIX] mail: expand/collapse planned activities in chatter

Before this commit, when the user clicks on the chatter category
"Planned activities", the user is redirected to the home menu.

The "Planned activities" category in the chatter is only visible when
there is at least one planned activity on the record.

The intended behaviour is to expand/collapse the planned activites on
the chatter. This commit fixes this issue.

Task-ID 1864452
This commit is contained in:
Prakash Prajapati
2018-07-23 10:34:21 +02:00
committed by Alexandre Kühn
parent 18b24e8a22
commit 6391e0044e
+1 -1
View File
@@ -2,7 +2,7 @@
<templates xml:space="preserve">
<t t-name="mail.activity_items">
<div class="o_thread_date_separator o_border_dashed" data-toggle="collapse" data-target="#o_chatter_planned_activities">
<a href="#" role="button" class="o_thread_date btn">
<a role="button" class="o_thread_date btn">
<i class="fa fa-fw fa-caret-down"/>
Planned activities
<small class="o_chatter_planned_activities_summary ml8">