summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml
diff options
context:
space:
mode:
authorXavierDo <xdo@odoo.com>2018-08-29 12:10:27 +0200
committerXavierDo <xdo@odoo.com>2018-09-07 14:59:05 +0200
commit7f47dcae5bba731d19d4d580fe1713f4d7a227b1 (patch)
tree9f01e47c84bbfb23dd3b790a8a3227c5cdf306c6 /addons/mail/static/src/xml
parentdd32131ce670b5daf80026c80275e5ab2c4f1223 (diff)
[FIX] mail: improve activity view and fix activity feedback
-Improve no content helper on activity view -Update chatter after editing an activity un form view -Avoid context to appear as feedback When using call_button the context is set as an arg and will be catched by the kwargs of the called action. As for action_feedback, we can create a wrapper without kwargs used when calling this method from a button to avoid this problem. Another solution would be to change the call_button in order to give the context as a kwargs. Maybe a possible improvement for master. -Remove groupby from activity view group by has no effect on activity -Change cursor to pointer on record name in activity view Task: #1878184 PR: #26668
Diffstat (limited to 'addons/mail/static/src/xml')
-rw-r--r--addons/mail/static/src/xml/activity_view.xml11
1 files changed, 7 insertions, 4 deletions
diff --git a/addons/mail/static/src/xml/activity_view.xml b/addons/mail/static/src/xml/activity_view.xml
index 50a3d09ab44..62712d771de 100644
--- a/addons/mail/static/src/xml/activity_view.xml
+++ b/addons/mail/static/src/xml/activity_view.xml
@@ -15,14 +15,17 @@
</th>
</t>
-<t t-name="mail.ActivityViewNoContentHelper">
- <div class="o_view_nocontent">
+<div t-name="ActivityView.nodata">
+ <div class="o_view_nocontent" role="alert">
<div class="o_nocontent_help">
<p class="o_view_nocontent_empty_folder">
- No scheduled activity yet
+ No data to display
+ </p><p>
+ Try to add some activity on records, or make sure that
+ there is no active filter in the search bar.
</p>
</div>
</div>
-</t>
+</div>
</templates>