[Erp5-report] r43228 arnaud.fontaine - /erp5/trunk/products/ERP5/Document/BusinessTemplate.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Feb 9 11:02:51 CET 2011


Author: arnaud.fontaine
Date: Wed Feb  9 11:02:51 2011
New Revision: 43228

URL: http://svn.erp5.org?rev=43228&view=rev
Log:
Fix missing rename in BusinessTemplate Document following r43222

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=43228&r1=43227&r2=43228&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/BusinessTemplate.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/BusinessTemplate.py [utf8] Wed Feb  9 11:02:51 2011
@@ -60,6 +60,7 @@ from Products.ERP5Type.Utils import conv
 from Products.ERP5Type import Permissions, PropertySheet, interfaces
 from Products.ERP5Type.XMLObject import XMLObject
 from Products.ERP5Type.dynamic.portal_type_class import synchronizeDynamicModules
+from Products.ERP5Type.Core.PropertySheet import PropertySheet as PropertySheetDocument
 from OFS.Traversable import NotFound
 from OFS import SimpleItem, XMLExportImport
 from cStringIO import StringIO
@@ -3632,7 +3633,8 @@ class PropertySheetTemplateItem(Document
                            "contain a class with the same name" % \
                            class_id)
 
-    return property_sheet_tool.createPropertySheetFromFilesystemClass(klass)
+    return PropertySheetDocument.importFromFilesystemDefinition(
+        property_sheet_tool, klass)
 
   def _migrateAllFilesystemPropertySheets(self,
                                           context,



More information about the Erp5-report mailing list