[Erp5-report] r19470 - /erp5/trunk/products/ERP5/Document/BusinessTemplate.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Feb 22 18:26:44 CET 2008
Author: jerome
Date: Fri Feb 22 18:26:43 2008
New Revision: 19470
URL: http://svn.erp5.org?rev=19470&view=rev
Log:
add initialization spcecific for portal_transforms
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=19470&r1=19469&r2=19470&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/BusinessTemplate.py (original)
+++ erp5/trunk/products/ERP5/Document/BusinessTemplate.py Fri Feb 22 18:26:43 2008
@@ -797,6 +797,10 @@
'could not restore %r in %r' % (subobject_id, obj))
if obj.meta_type in ('Z SQL Method',):
fixZSQLMethod(portal, obj)
+ # portal transforms specific initialization
+ elif obj.meta_type in ('Transform', 'TransformsChain'):
+ assert container.meta_type == 'Portal Transforms'
+ container._mapTransform(obj)
# now put original order group
# we remove object not added in forms
# we put old objects we have kept
More information about the Erp5-report
mailing list