[Erp5-report] r19607 - /erp5/trunk/products/ERP5Type/CopySupport.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Feb 29 17:08:29 CET 2008
Author: yusei
Date: Fri Feb 29 17:08:29 2008
New Revision: 19607
URL: http://svn.erp5.org?rev=19607&view=rev
Log:
I added a test for the issue of makeTemplate and manage_afterClone so that
this comment is not necessary.
Modified:
erp5/trunk/products/ERP5Type/CopySupport.py
Modified: erp5/trunk/products/ERP5Type/CopySupport.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/CopySupport.py?rev=19607&r1=19606&r2=19607&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/CopySupport.py (original)
+++ erp5/trunk/products/ERP5Type/CopySupport.py Fri Feb 29 17:08:29 2008
@@ -295,10 +295,6 @@
pw.doActionFor(self, 'edit_action', wf_id='edit_workflow', comment='Object copied as %s' % item.getId())
except WorkflowException:
pass
-
- ### Don't call makeTemplate here!!
- ### At this point, uid of sub object is still old and
- ### if calling makeTemplate, original document will be unindexed.
# Call a type based method to reset so properties if necessary
script = self._getTypeBasedMethod('afterClone')
More information about the Erp5-report
mailing list