From 4c95cb78996e0cf894bc7bf0b6ac6d4f6520d390 Mon Sep 17 00:00:00 2001 From: Parth Choksi Date: Mon, 6 May 2019 12:10:26 +0000 Subject: [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) --- addons/digest/data/digest_template_data.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/digest/data') 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 @@

-
${ctx['tip_description']|safe}
+
${tips | safe}
-- cgit v1.2.3