[Erp5-report] r43127 aurel - /erp5/trunk/products/ERP5/Document/BusinessTemplate.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Feb 7 13:05:42 CET 2011
Author: aurel
Date: Mon Feb 7 13:05:41 2011
New Revision: 43127
URL: http://svn.erp5.org?rev=43127&view=rev
Log:
clean dict after display of warning otherwise installation will fail
later in transaction
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=43127&r1=43126&r2=43127&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/BusinessTemplate.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/BusinessTemplate.py [utf8] Mon Feb 7 13:05:41 2011
@@ -3657,6 +3657,9 @@ class PropertySheetTemplateItem(Document
'already exists in portal_property_sheets and '\
'cannot be updated automatically for now. ' % class_id,
UserWarning)
+ del migrate_object_dict[class_id]
+ if class_id in object_dict:
+ del object_dict[class_id]
continue
filesystem_property_sheet_path = \
More information about the Erp5-report
mailing list