From dad9265d69a2e9ab21ea37cc15f7cd5f5d93afcf Mon Sep 17 00:00:00 2001 From: Julien Castiaux Date: Thu, 13 Jun 2019 11:46:15 +0000 Subject: [PATCH] [FIX] project: correct filename on portal attachment Create a project visible to a portal customer, create a task and attach an attachment. As a portal user, go to the task and download the attachment, the downloaded filename is the numeric identifier of the document instead of the document filename. The `?download=true` force the download of the attachment and correctly set the filename. opw-2008517 closes odoo/odoo#34098 Signed-off-by: Julien Castiaux --- addons/project/views/project_portal_templates.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/project/views/project_portal_templates.xml b/addons/project/views/project_portal_templates.xml index 14498944913..1bb202f8fd8 100644 --- a/addons/project/views/project_portal_templates.xml +++ b/addons/project/views/project_portal_templates.xml @@ -238,7 +238,7 @@