diff --git a/product/ERP5/mixin/virtual_folder.py b/product/ERP5/mixin/virtual_folder.py index c173f0ba0d0412ba119470b36fa817b893f00506..a2ec9b0b4bd6cef0cb782125017de8d894fbe73b 100644 --- a/product/ERP5/mixin/virtual_folder.py +++ b/product/ERP5/mixin/virtual_folder.py @@ -85,7 +85,7 @@ class VirtualFolderMixin: return self.getPortalObject().unrestrictedTraverse(document_url) try: - return Folder._getOb(self, id, **kw) + return Folder._getOb(self, id, default=default, **kw) except KeyError: if default is _marker: raise