Commit 4dcde791 authored by Łukasz Nowak's avatar Łukasz Nowak

Support tag as None.

parent b07e215d
......@@ -50,11 +50,14 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>context.getPortalObject().portal_catalog.searchAndActivate(\n
<value> <string>activate_kw = {}\n
if tag is not None:\n
activate_kw[\'tag\'] = tag\n
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
activate_kw=activate_kw\n
)\n
</string> </value>
</item>
......@@ -62,14 +65,6 @@
<key> <string>_params</string> </key>
<value> <string>tag=None</string> </value>
</item>
<item>
<key> <string>_proxy_roles</string> </key>
<value>
<tuple>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>OpenOrder_updateSimulation</string> </value>
......
110
\ No newline at end of file
111
\ 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