summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/js/thread.js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2016-08-26 14:57:43 +0200
committerChristophe Simonis <chs@odoo.com>2016-08-26 14:57:43 +0200
commit717a4a51a5bf03f853aa2e4c229b929e2b87ea2d (patch)
treebc0a9d2c758e7055cb0cd23f12c1c33b04b2a872 /addons/mail/static/src/js/thread.js
parent438a3742e238ba074b880d5d563f2c7151a767c6 (diff)
parent7a4116cd03c56d694a1b6d39a523ac1cc3306f52 (diff)
[MERGE] forward port branch saas-10 up to 7a4116c
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 17b21c39a5b..ea593d21dfa 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;
}