Commit fe57f953 authored by Jérome Perrin's avatar Jérome Perrin

__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
parent d5bcc417
...@@ -297,12 +297,13 @@ class CopyContainer: ...@@ -297,12 +297,13 @@ class CopyContainer:
except WorkflowException: except WorkflowException:
pass pass
self.__recurse('manage_afterClone', item)
# Call a type based method to reset so properties if necessary # Call a type based method to reset so properties if necessary
script = self._getTypeBasedMethod('afterClone') script = self._getTypeBasedMethod('afterClone')
if script is not None and callable(script): if script is not None and callable(script):
script() script()
self.__recurse('manage_afterClone', item)
def manage_afterAdd(self, item, container): def manage_afterAdd(self, item, container):
""" """
......
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