[Erp5-report] r31663 jp - in /erp5/trunk/products/ERP5/Document: Document.py WebSection.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jan 8 09:39:35 CET 2010


Author: jp
Date: Fri Jan  8 09:39:33 2010
New Revision: 31663

URL: http://svn.erp5.org?rev=31663&view=rev
Log:
There is no reason to keep original_path since we have original_container and since document can be placed in an acquisition chain here.

Modified:
    erp5/trunk/products/ERP5/Document/Document.py
    erp5/trunk/products/ERP5/Document/WebSection.py

Modified: erp5/trunk/products/ERP5/Document/Document.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Document.py?rev=31663&r1=31662&r2=31663&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Document.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/Document.py [utf8] Fri Jan  8 09:39:33 2010
@@ -187,7 +187,6 @@
       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)
 

Modified: erp5/trunk/products/ERP5/Document/WebSection.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/WebSection.py?rev=31663&r1=31662&r2=31663&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/WebSection.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/WebSection.py [utf8] Fri Jan  8 09:39:33 2010
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
 ##############################################################################
 #
 # Copyright (c) 2002-2008 Nexedi SA and Contributors. All Rights Reserved.
@@ -193,7 +194,6 @@
                 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()




More information about the Erp5-report mailing list