[Erp5-report] r30002 - /erp5/trunk/products/ERP5/Document/Document.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Oct 26 10:11:10 CET 2009


Author: fabien
Date: Mon Oct 26 10:11:09 2009
New Revision: 30002

URL: http://svn.erp5.org?rev=30002&view=rev
Log:
add orginal_path like in web_section (see r29967)

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

Modified: erp5/trunk/products/ERP5/Document/Document.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Document.py?rev=30002&r1=30001&r2=30002&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Document.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/Document.py [utf8] Mon Oct 26 10:11:09 2009
@@ -186,6 +186,7 @@
       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)
 




More information about the Erp5-report mailing list