Commit 9c2300b5 authored by Romain Courteaud's avatar Romain Courteaud

slapos_erp5: drop code related to unused Trade Condition

parent ec0e06f8
...@@ -7,10 +7,4 @@ for portal_type in ("Access Token Module" ,"Account Module" ,"Account" ,"Account ...@@ -7,10 +7,4 @@ for portal_type in ("Access Token Module" ,"Account Module" ,"Account" ,"Account
print portal_type print portal_type
portal.portal_types[portal_type].updateRoleMapping(priority=4) portal.portal_types[portal_type].updateRoleMapping(priority=4)
context.portal_catalog.searchAndActivate(
method_id="updateLocalRolesOnSecurityGroups",
default_specialise_uid = [context.sale_trade_condition_module.slapos_subscription_trade_condition.getUid(),
context.sale_trade_condition_module.slapos_aggregated_trade_condition.getUid()],
portal_type="Sale Packing List")
return printed return printed
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