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

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jun 30 15:39:36 CEST 2006


Author: chris
Date: Fri Jun 30 15:39:26 2006
New Revision: 8255

URL: http://svn.erp5.org?rev=8255&view=rev
Log:
- Does not export _filepath anymore (not used and site name dependent)

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

Modified: erp5/trunk/products/ERP5/Document/BusinessTemplate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/BusinessTemplate.py?rev=8255&r1=8254&r2=8255&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/BusinessTemplate.py (original)
+++ erp5/trunk/products/ERP5/Document/BusinessTemplate.py Fri Jun 30 15:39:26 2006
@@ -378,6 +378,8 @@
         obj._code = None
       if hasattr(aq_base(obj), 'Python_magic'):
         obj.Python_magic = None
+    if hasattr(aq_base(obj), '_filepath'):
+	obj._filepath = None
     elif getattr(obj, 'meta_type', None) == 'ERP5 PDF Form' :
       if not obj.getProperty('business_template_include_content', 1) :
         obj.deletePdfContent()
@@ -3652,7 +3654,6 @@
         Copy existing portal objects to self
       """
       if no_action: return # this is use at import of Business Template to get the status built
-
       # Make sure that everything is sane.
       self.clean()
 




More information about the Erp5-report mailing list