Commit b18d8da1 authored by Sebastien Robin's avatar Sebastien Robin

first submission


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@825 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c7637c02
##parameters=
site = context.portal_url.getPortalObject()
object_list = []
for o in site.objectValues():
if hasattr(o,'getMetaType'):
if o.getMetaType()=='ERP5 Folder':
path = o.getPhysicalPath()
object_ids = o.objectIds()
for id in object_ids:
object_list += [path + (id,)]
object_list.sort()
for path in object_list:
print '/'.join(path)
return printed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment