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
Sebastien Robin
erp5
Commits
0a51e67b
Commit
0a51e67b
authored
Jan 13, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
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 @@
...
@@ -53,8 +53,9 @@
<value>
<string>
from Products.ERP5Type.Document import newTempDocument\n
<value>
<string>
from Products.ERP5Type.Document import newTempDocument\n
return_list = []\n
return_list = []\n
i = 1\n
i = 1\n
portal = context.getPortalObject()\n
for worklist in context.portal_workflow.listActionInfos():\n
for worklist in context.portal_workflow.listActionInfos():\n
o = newTempDocument(
context
, str(i))\n
o = newTempDocument(
portal
, str(i))\n
o.edit(\n
o.edit(\n
count=worklist[\'count\'],\n
count=worklist[\'count\'],\n
title=worklist[\'title\'],\n
title=worklist[\'title\'],\n
...
...
bt5/erp5_knowledge_pad/bt/revision
View file @
0a51e67b
743
744
\ No newline at end of file
\ No newline at end of file
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