diff --git a/product/ERP5/Tool/TrashTool.py b/product/ERP5/Tool/TrashTool.py index 15090ab1fb0a5659524af1a562363cd32e365737..cabb49d69d5e3f20839e4e39a5f029d179f25607 100644 --- a/product/ERP5/Tool/TrashTool.py +++ b/product/ERP5/Tool/TrashTool.py @@ -66,7 +66,7 @@ class TrashTool(BaseTool): path += '_items' if path not in backup_object_container.objectIds(): backup_object_container = backup_object_container.newContent(portal_type='Trash Folder', id=path, - is_indexable=0, check_allowed=0) + is_indexable=0) backup_object_container.edit(isHidden=1) else: backup_object_container = backup_object_container._getOb(path)