From fe57f953d853797f7470da7355f6a2a1242e54b5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Mon, 8 Dec 2008 12:34:08 +0000
Subject: [PATCH] __recurse before calling the type based script for afterClone

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24831 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/CopySupport.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/product/ERP5Type/CopySupport.py b/product/ERP5Type/CopySupport.py
index 8338d1dedf..ec0e6d8d78 100644
--- a/product/ERP5Type/CopySupport.py
+++ b/product/ERP5Type/CopySupport.py
@@ -297,12 +297,13 @@ class CopyContainer:
         except WorkflowException:
           pass
 
+    self.__recurse('manage_afterClone', item)
+
     # Call a type based method to reset so properties if necessary
     script = self._getTypeBasedMethod('afterClone')
     if script is not None and callable(script):
       script()
 
-    self.__recurse('manage_afterClone', item)
 
   def manage_afterAdd(self, item, container):
       """
-- 
2.30.9