Commit f0515396 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Fix missing rename in BusinessTemplate Document following r43222

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43228 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 92413d8c
......@@ -60,6 +60,7 @@ from Products.ERP5Type.Utils import convertToUpperCase, PersistentMigrationMixin
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(DocumentTemplateItem,
"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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment