Commit 6f54cc79 authored by Rafael Monnerat's avatar Rafael Monnerat

erp5_interaction_drop: Drop unused script

See merge request nexedi/slapos.core!509
parents 03ee21ca d062bbd6
Pipeline #27529 passed with stage
activate_kw={}
if tag is not None:
activate_kw={'tag': tag}
for path in [context] + context.getCellValueList():
for item in path.getAggregateValueList():
if item.providesIExpandableItem():
applied_rule = item.getCausalityRelatedValue(portal_type='Applied Rule')
if applied_rule is not None:
applied_rule.expand(activate_kw=activate_kw)
else:
item.Delivery_updateAppliedRule(activate_kw=activate_kw)
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="_reconstructor" module="copy_reg"/>
</klass>
<tuple>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
<global name="object" module="__builtin__"/>
<none/>
</tuple>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>tag=None</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>OpenOrderLine_updateSimulation</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -68,7 +68,6 @@ def makeTestSlapOSCodingStyleTestCase(tested_business_template): ...@@ -68,7 +68,6 @@ def makeTestSlapOSCodingStyleTestCase(tested_business_template):
CodingStyleTestCase.coverage_ignore_path_list = [ CodingStyleTestCase.coverage_ignore_path_list = [
'erp5_interaction_drop/InvoiceTransaction_postGeneration', 'erp5_interaction_drop/InvoiceTransaction_postGeneration',
'erp5_interaction_drop/OpenOrderLine_updateSimulation',
'slapos_cloud/AlarmTool_checkComputeNodeMigrationConsistency', 'slapos_cloud/AlarmTool_checkComputeNodeMigrationConsistency',
'slapos_cloud/AlarmTool_checkInstanceTreeMigrationConsistency', 'slapos_cloud/AlarmTool_checkInstanceTreeMigrationConsistency',
'slapos_cloud/AlarmTool_checkPredecessorToSuccessorMigrationConsistency', 'slapos_cloud/AlarmTool_checkPredecessorToSuccessorMigrationConsistency',
......
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