diff options
| author | Jeremy Kersten <jke@odoo.com> | 2016-06-08 13:11:55 +0200 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2016-06-08 15:43:52 +0200 |
| commit | 4a4c4e1b958eac50aa2b5186ab9579150f70fff1 (patch) | |
| tree | 2f38122da8aad9466384ddce1cd7e0ce97b987a0 /addons/mail/static/src/xml/thread.xml | |
| parent | 039e182fe380f433273d197218a55f5831406913 (diff) | |
[FIX] mail: display date and datetime in tracking value with the right timzeone.
When tracking value is converted to be rendered as a message_post, we convert
the date/datetime with the current local from momentjs.
Related to #12327
Courtesy of @aab-odoo for help and review.
Diffstat (limited to 'addons/mail/static/src/xml/thread.xml')
| -rw-r--r-- | addons/mail/static/src/xml/thread.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml index df1dfadb04d..9896cb0ce6e 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -138,10 +138,10 @@ <li> <t t-esc="value.changed_field"/>: <t t-if="value.old_value"> - <span> <t t-esc="value.old_value"/> </span> + <span> <t t-esc="value.old_value || ((value.field_type !== 'boolean') and '')"/> </span> <span class="fa fa-long-arrow-right"/> </t> - <span> <t t-esc="value.new_value"/> </span> + <span> <t t-esc="value.new_value || ((value.field_type !== 'boolean') and '')"/> </span> </li> </t> </ul> |
