From 07a3d7f31e5a77b9ff65c52d0292d7ee4595e5e4 Mon Sep 17 00:00:00 2001 From: Jorge Pinna Puissant Date: Wed, 10 Jun 2020 13:12:47 +0000 Subject: [PATCH] [FIX] mail: pdfjs viewer download name Before this commit, when downloading a pdf from the pdfjs viewer, the name of the pdf was always 'document.pdf'. Now, the correct name of the pdf is used when downloading the file. opw-2269841 closes odoo/odoo#52878 X-original-commit: b9cd32a7f19b8f73385dea534ad3cc5b126bc6dd Related: odoo/enterprise#11109 Signed-off-by: Nicolas Lempereur (nle) Signed-off-by: Jorge Pinna Puissant (jpp) --- addons/mail/static/src/xml/thread.xml | 2 +- addons/mail/static/tests/document_viewer_tests.js | 2 +- 2 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 bf1c5427911..05f9f04f6f7 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -61,7 +61,7 @@ Viewer -