diff --git a/product/ERP5/Document/Document.py b/product/ERP5/Document/Document.py index b82c98426cdd92888564b97324e543c7f49359e7..f8cd282f0bce9153b7b12bc14be6e7e5eb29343c 100644 --- a/product/ERP5/Document/Document.py +++ b/product/ERP5/Document/Document.py @@ -187,7 +187,6 @@ class PermanentURLMixIn(ExtensibleTraversableMixIn): document = aq_base(document.asContext(id=name, # Hide some properties to permit locating the original original_container=document.getParentValue(), original_id=document.getId(), - original_path=document.getPath(), editable_absolute_url=document.absolute_url())) return document.__of__(self) diff --git a/product/ERP5/Document/WebSection.py b/product/ERP5/Document/WebSection.py index c540956cb3a52b67153de7941b7f642ea050cda1..7f5d86bcf2e5dd2fa5e50f55ff28428e086d57d9 100644 --- a/product/ERP5/Document/WebSection.py +++ b/product/ERP5/Document/WebSection.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- ############################################################################## # # Copyright (c) 2002-2008 Nexedi SA and Contributors. All Rights Reserved. @@ -193,7 +194,6 @@ class WebSection(Domain, PermanentURLMixIn): id=document.getReference(), original_container=document.getParentValue(), original_id=document.getId(), - original_path=document.getPath(), editable_absolute_url=document.absolute_url())).__of__(self) # Try to use a custom renderer if any custom_render_method_id = self.getCustomRenderMethodId()