Commit 89420809 authored by Łukasz Nowak's avatar Łukasz Nowak

Migrate really deeply.

parent 3b7e4ac6
...@@ -59,9 +59,10 @@ if portal.portal_activities.countMessageWithTag(tag) > 0:\n ...@@ -59,9 +59,10 @@ if portal.portal_activities.countMessageWithTag(tag) > 0:\n
method_id = \'Base_updateSlapOSLocalRoles\'\n method_id = \'Base_updateSlapOSLocalRoles\'\n
for module_id in portal.objectIds(("ERP5 Folder",)):\n for module_id in portal.objectIds(("ERP5 Folder",)):\n
if module_id.endswith("_module"):\n if module_id.endswith("_module"):\n
portal[module_id].activate().recurseCallMethod(\n portal[module_id].activate(tag=tag).recurseCallMethod(\n
method_id,\n method_id,\n
max_retry=0,\n max_retry=0,\n
max_depth=5,\n
activate_kw={\'tag\': tag,}\n activate_kw={\'tag\': tag,}\n
)\n )\n
\n \n
......
15 16
\ No newline at end of file \ No newline at end of file
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