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
0f71e60e
Commit
0f71e60e
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
910544a4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
bt5/erp5_interface_post/SkinTemplateItem/portal_skins/erp5_interface_post/LetterPostModule_exportExportableLetterPost.py
...rface_post/LetterPostModule_exportExportableLetterPost.py
+1
-1
bt5/erp5_interface_post/SkinTemplateItem/portal_skins/erp5_interface_post/LetterPostModule_exportExportableLetterPost.xml
...face_post/LetterPostModule_exportExportableLetterPost.xml
+1
-1
bt5/erp5_interface_post/SkinTemplateItem/portal_skins/erp5_interface_post/LetterPostModule_exportExportableLetterPostActivity.py
...st/LetterPostModule_exportExportableLetterPostActivity.py
+1
-1
bt5/erp5_interface_post/SkinTemplateItem/portal_skins/erp5_interface_post/LetterPostModule_exportExportableLetterPostActivity.xml
...t/LetterPostModule_exportExportableLetterPostActivity.xml
+1
-1
No files found.
bt5/erp5_interface_post/SkinTemplateItem/portal_skins/erp5_interface_post/LetterPostModule_exportExportableLetterPost.py
View file @
0f71e60e
...
...
@@ -16,7 +16,7 @@ if person_value.getDefaultEmailText('') in ('', None):
context
.
activate
(
tag
=
script
.
id
,
).
LetterPostModule_exportExportableLetterPostActivity
(
user
.
getUserId
())
).
LetterPostModule_exportExportableLetterPostActivity
(
user
.
getUserId
()
,
comment
)
return
context
.
Base_redirect
(
'view'
,
keep_items
=
dict
(
portal_status_message
=
N_
(
"Report Started"
)))
bt5/erp5_interface_post/SkinTemplateItem/portal_skins/erp5_interface_post/LetterPostModule_exportExportableLetterPost.xml
View file @
0f71e60e
...
...
@@ -50,7 +50,7 @@
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
**kw
</string>
</value>
<value>
<string>
comment,
**kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
...
...
bt5/erp5_interface_post/SkinTemplateItem/portal_skins/erp5_interface_post/LetterPostModule_exportExportableLetterPostActivity.py
View file @
0f71e60e
...
...
@@ -12,7 +12,7 @@ for letter_post in letter_post_list:
else
:
merged_pdf_content
=
portal
.
ERP5Site_mergePDFList
([
merged_pdf_content
,
letter_post
.
getData
()])
letter_post
.
activate
(
activity
=
'SQLQueue'
).
export
()
letter_post
.
activate
(
activity
=
'SQLQueue'
).
export
(
comment
=
comment
)
result_pdf
=
portal
.
document_module
.
newContent
(
portal_type
=
'PDF'
,
...
...
bt5/erp5_interface_post/SkinTemplateItem/portal_skins/erp5_interface_post/LetterPostModule_exportExportableLetterPostActivity.xml
View file @
0f71e60e
...
...
@@ -50,7 +50,7 @@
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
user_name
</string>
</value>
<value>
<string>
user_name
, comment
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
...
...
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