Commit 5461b283 authored by Benjamin Blanc's avatar Benjamin Blanc

erp5_scalability_data: up update_roles_scalability script

parent f5372591
...@@ -55,8 +55,11 @@ ...@@ -55,8 +55,11 @@
# Update roles of Product, Organisation and Sale Trade Condition\n # Update roles of Product, Organisation and Sale Trade Condition\n
portal_type = portal.searchFolder(title=\'portal_types\')[0]\n portal_type = portal.searchFolder(title=\'portal_types\')[0]\n
portal_type.searchFolder(title=\'Product\')[0].updateRoleMapping()\n portal_type.searchFolder(title=\'Product\')[0].updateRoleMapping()\n
portal_type.searchFolder(title=\'Person\')[0].updateRoleMapping()\n
portal_type.searchFolder(title=\'Organisation\')[0].updateRoleMapping()\n portal_type.searchFolder(title=\'Organisation\')[0].updateRoleMapping()\n
portal_type.searchFolder(title=\'Sale Trade Condition\')[0].updateRoleMapping()\n portal_type.searchFolder(title=\'Sale Trade Condition\')[0].updateRoleMapping()\n
\n
return 1\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
13 14
\ 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