Commit bb7b28ad authored by Nicolas Wavrant's avatar Nicolas Wavrant

fixup! erp5_interface_post: action to export all exportable Letter Post in only one PDF document

parent 4a70ddda
...@@ -18,6 +18,8 @@ result_pdf = portal.document_module.newContent( ...@@ -18,6 +18,8 @@ result_pdf = portal.document_module.newContent(
portal_type='PDF', portal_type='PDF',
title='Impression of Letter Post', title='Impression of Letter Post',
data=merged_pdf_content, data=merged_pdf_content,
content_type='application/pdf',
filename='letter_export.pdf',
) )
portal.portal_notifications.activate(activity='SQLQueue').sendMessage( portal.portal_notifications.activate(activity='SQLQueue').sendMessage(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment