diff --git a/product/ERP5Type/Utils.py b/product/ERP5Type/Utils.py index e8d45886fb39aa1fa77dab3442415346bddb5478..75adae1dd2f7edabb29ccff379070bc5e2644261 100644 --- a/product/ERP5Type/Utils.py +++ b/product/ERP5Type/Utils.py @@ -491,8 +491,6 @@ class TempDocumentConstructor(DocumentConstructor): def __call__(self, folder, id, REQUEST=None, activate_kw=None, is_indexable=None, reindex_kw=None, **kw): o = self.klass(id) - # Use the real container instead of the factory dispatcher. - folder = folder.Destination() if folder.isTempObject(): folder._setObject(id, o) o = o.__of__(folder)