Commit 03229ad9 authored by Alain Takoudjou's avatar Alain Takoudjou

Post merge: fix OpenOrder_updateSimulation after cherry picked commits

parent 8a6dc8cd
......@@ -50,17 +50,20 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>context.getPortalObject().portal_catalog.searchAndActivate(\n
parent_uid=context.getUid(),\n
method_id=\'OpenOrderLine_updateSimulation\',\n
method_kw={\'tag\': tag},\n
activate_kw={\'tag\':tag}\n
)\n
<value> <string>subscription_item_set = set()\n
\n
for open_order_line in context.objectValues():\n
for ob in [open_order_line] + open_order_line.getCellValueList():\n
for item in ob.getAggregateValueList():\n
if getattr(item.aq_explicit, \'updateSimulation\', None) is not None and \\\n
item not in subscription_item_set:\n
subscription_item_set.add(item)\n
item.updateSimulation(expand_root=1)\n
</string> </value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>tag=None</string> </value>
<value> <string></string> </value>
</item>
<item>
<key> <string>_proxy_roles</string> </key>
......
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