Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
erp5
Commits
bb7b28ad
Commit
bb7b28ad
authored
Mar 20, 2018
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! erp5_interface_post: action to export all exportable Letter Post in only one PDF document
parent
4a70ddda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
bt5/erp5_interface_post/SkinTemplateItem/portal_skins/erp5_interface_post/LetterPostModule_exportExportableLetterPostActivity.py
...st/LetterPostModule_exportExportableLetterPostActivity.py
+2
-0
No files found.
bt5/erp5_interface_post/SkinTemplateItem/portal_skins/erp5_interface_post/LetterPostModule_exportExportableLetterPostActivity.py
View file @
bb7b28ad
...
@@ -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
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment