From 4faf329defed8bf915d132e81cda1189c31423ae Mon Sep 17 00:00:00 2001 From: "Andrea Grazioso (agr-odoo)" Date: Mon, 20 Apr 2020 07:34:54 +0000 Subject: [PATCH] [FIX] mail: Fallback to default company logo instead of odoobot For some specific report (i.e account followup report) the mail_message sent will contains no company informations because it will be sent on the partner context, so when generating the template the logo will be retrieved from the route /logo.png?company=False which yield back the odoo company logo. Adding a default 0 allow to retrieve the company logo for the current user opw-2232184 closes odoo/odoo#49787 X-original-commit: eea99fe1e00eb2dbd2bbeaca3e2f09845b426267 Signed-off-by: Nicolas Martinelli (nim) --- addons/mail/data/mail_data.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/mail/data/mail_data.xml b/addons/mail/data/mail_data.xml index 3e0c6ca6b37..f7db5a78a0a 100644 --- a/addons/mail/data/mail_data.xml +++ b/addons/mail/data/mail_data.xml @@ -67,7 +67,7 @@ - + @@ -115,7 +115,7 @@ - + @@ -174,7 +174,7 @@ - +
@@ -244,7 +244,7 @@ - +