summaryrefslogtreecommitdiff
path: root/addons/digest/data/digest_template_data.xml
diff options
context:
space:
mode:
authorParth Choksi <pch@odoo.com>2019-05-06 12:10:26 +0000
committerParth Choksi <pch@odoo.com>2019-05-06 12:41:47 +0000
commit4c95cb78996e0cf894bc7bf0b6ac6d4f6520d390 (patch)
tree5f3a324adf256015cbff0e055c715521310e864e /addons/digest/data/digest_template_data.xml
parent32d696ec43a9c9a9b70ccd5e2039dc5ab5a285fa (diff)
[FIX] digest: tips will be displayed properly
Currenly in the digest when you send the template, tips are not being seen. The reason for this is, we are getting tips from the context but we dont have it in the context. Instead, we are fetching the tips by calling the compute_tips method and assigning it to 'tips'. Hence, this commit will remove the usage of context to get the tips as we are getting it from the method and not from the context. Task ID: #1918364 closes odoo/odoo#33186 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/digest/data/digest_template_data.xml')
-rw-r--r--addons/digest/data/digest_template_data.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/digest/data/digest_template_data.xml b/addons/digest/data/digest_template_data.xml
index e3053b661d1..df64772f469 100644
--- a/addons/digest/data/digest_template_data.xml
+++ b/addons/digest/data/digest_template_data.xml
@@ -116,7 +116,7 @@
<table style="width: 100%; max-width: 600px; margin-top: 5px; border: 1px solid #e7e7e7;">
<tr>
<td style="border-collapse: collapse; background-color: #ffffff; line-height: 21px; padding: 0px 20px;"><br/>
- <div style="color: #3d466e; line-height: 23px;">${ctx['tip_description']|safe}</div>
+ <div style="color: #3d466e; line-height: 23px;">${tips | safe}</div>
</td>
</tr>
</table>