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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
erp5
Commits
386b0e6b
Commit
386b0e6b
authored
May 27, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix list method returning duplicate uids
parent
e046d8f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_getTempObjectList.xml
...eItem/portal_skins/erp5_ui_test/Foo_getTempObjectList.xml
+8
-3
bt5/erp5_ui_test/bt/revision
bt5/erp5_ui_test/bt/revision
+1
-1
No files found.
bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_getTempObjectList.xml
View file @
386b0e6b
...
...
@@ -51,11 +51,16 @@
<item>
<key>
<string>
_body
</string>
</key>
<value>
<string>
from Products.PythonScripts.standard import Object\n
\n
def makeObject(uid):\n
def getUid():\n
return uid\n
return Object(uid=uid, getUid=getUid)\n
\n
object_list = []\n
for i in range(3):\n
object_list.append(\n
Object(uid=\'new_%s\' % i,\n
getUid = lambda: \'new_%s\' % i))\n
object_list.append(makeObject(\'new_%s\' % i))\n
\n
return object_list\n
</string>
</value>
</item>
...
...
bt5/erp5_ui_test/bt/revision
View file @
386b0e6b
710
\ No newline at end of file
711
\ 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