Commit ee90c2a6 authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

ERP5Site.py: correct migration code.

parent 3c3633e3
......@@ -1657,7 +1657,7 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
# copy-paste operation
for id in tool.objectIds():
ob = tool._getOb(id)
ob = ob._getCopy(tool)
ob = ob._getCopy(new_tool)
ob._setId(id)
new_tool._setObject(id, ob)
ob = new_tool._getOb(id)
......
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