summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js/thread.js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2016-08-25 18:23:47 +0200
committerChristophe Simonis <chs@odoo.com>2016-08-25 18:23:47 +0200
commit5c2025a3affdcbcd06c40b2454b70b2d64528a03 (patch)
tree9b2085cca3340d504d983f9e0c49206bf111ce57 /addons/mail/static/src/js/thread.js
parent04602995490b623e3e30b88386fe4bc673ce9002 (diff)
parentc578fb792c8fc48ebf1d0a5689d9201813e1004e (diff)
[MERGE] forward port branch 9.0 up to c578fb7
Diffstat (limited to 'addons/mail/static/src/js/thread.js')
-rw-r--r--addons/mail/static/src/js/thread.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/addons/mail/static/src/js/thread.js b/addons/mail/static/src/js/thread.js
index 55acfc00f9d..00f7a44f1b1 100644
--- a/addons/mail/static/src/js/thread.js
+++ b/addons/mail/static/src/js/thread.js
@@ -234,20 +234,6 @@ var Thread = Widget.extend({
msg.day = msg.date.format('LL');
}
- if (message.tracking_value_ids && message.tracking_value_ids.length) {
- _.each(message.tracking_value_ids, function(f) {
- if (_.contains(['date', 'datetime'], f.field_type)) {
- var format = (f.field_type === 'date') ? 'LL' : 'LLL';
- if (f.old_value) {
- f.old_value = moment.utc(f.old_value).local().format(format);
- }
- if (f.new_value) {
- f.new_value = moment.utc(f.new_value).local().format(format);
- }
- }
- });
- }
-
if (_.contains(this.expanded_msg_ids, message.id)) {
msg.expanded = true;
}