Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
iv
erp5
Commits
0a51e67b
Commit
0a51e67b
authored
13 years ago
by
Łukasz Nowak
Browse files
Options
Download
Email Patches
Plain Diff
Create temp documents on portal.
There is no control where context would be used.
parent
ba2de5f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_gadget/ERP5Site_getWorklistObjectList.xml
...rtal_skins/erp5_gadget/ERP5Site_getWorklistObjectList.xml
+2
-1
bt5/erp5_knowledge_pad/bt/revision
bt5/erp5_knowledge_pad/bt/revision
+1
-1
No files found.
bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_gadget/ERP5Site_getWorklistObjectList.xml
View file @
0a51e67b
...
...
@@ -53,8 +53,9 @@
<value>
<string>
from Products.ERP5Type.Document import newTempDocument\n
return_list = []\n
i = 1\n
portal = context.getPortalObject()\n
for worklist in context.portal_workflow.listActionInfos():\n
o = newTempDocument(
context
, str(i))\n
o = newTempDocument(
portal
, str(i))\n
o.edit(\n
count=worklist[\'count\'],\n
title=worklist[\'title\'],\n
...
...
This diff is collapsed.
Click to expand it.
bt5/erp5_knowledge_pad/bt/revision
View file @
0a51e67b
743
\ No newline at end of file
744
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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