Register the gateway after send

git-svn-id: https://svn.erp5.org/repos/experimental@2073 bc57dcba-3610-0410-ab4f-dc20bb96b918
parent 52b1686f
...@@ -53,12 +53,13 @@ ...@@ -53,12 +53,13 @@
<value> <string>"""Save the message id of the relative document"""\n <value> <string>"""Save the message id of the relative document"""\n
if document_relative_url:\n if document_relative_url:\n
document = context.getPortalObject().restrictedTraverse(document_relative_url)\n document = context.getPortalObject().restrictedTraverse(document_relative_url)\n
document.setDestinationReference(message_id_list[0])\n document.edit(destination_reference=message_id_list[0],\n
gateway = gateway_relative_url)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string>message_id_list, document_relative_url=None, **kw</string> </value> <value> <string>message_id_list, document_relative_url=None, gateway_relative_url=None, **kw</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
......
8 9
\ 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