Commit 331663ea authored by Alexandre Boeglin's avatar Alexandre Boeglin

fixed last patch.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5473 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b217f5bd
...@@ -97,6 +97,7 @@ class TrashTool(BaseTool): ...@@ -97,6 +97,7 @@ class TrashTool(BaseTool):
pass pass
# in case of portal types, export properties instead of subobjects # in case of portal types, export properties instead of subobjects
if obj is None: if obj is None:
object_path = container_path + [object_id]
obj = self.unrestrictedTraverse(object_path) obj = self.unrestrictedTraverse(object_path)
if getattr(obj, 'meta_type', None) == 'ERP5 Type Information': if getattr(obj, 'meta_type', None) == 'ERP5 Type Information':
subobjects_dict = {} subobjects_dict = {}
......
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