diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EmailDocument_viewAttachmentListRenderer.zpt b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EmailDocument_viewAttachmentListRenderer.zpt index b8f11264d2335418e650424d23495f027db7f807..4afa5e45a6226fc0e8de704670efaacdaa042660 100644 --- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EmailDocument_viewAttachmentListRenderer.zpt +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/EmailDocument_viewAttachmentListRenderer.zpt @@ -1,7 +1,7 @@ <tal:block tal:define="information_list here/getAttachmentInformationList"> <ul> <li tal:repeat="information information_list"> - <a tal:content="information/filename | information/uid" tal:attributes="href python:'getAttachmentData?index:int=%s' % information['index']"/> + <a target="_blank" tal:content="information/filename | information/uid" tal:attributes="href python:'%s/getAttachmentData?index:int=%s' % (context.absolute_url(), information['index'])"/> (<tal:block tal:content="information/content_type" />) </li> </ul>