Commit 428b6aa9 authored by Tristan Cavelier's avatar Tristan Cavelier Committed by Cédric Le Ninivin

free_subscription: set email during Free Subscription Request creation

parent c4755557
......@@ -65,6 +65,7 @@ if subscription_type == "unsubscription":\n
resource = event.getResource(),\n
free_subscription_request_type="unsubscription",\n
causality_value=event,\n
default_email_coordinate_text=event.getDestinationValue().getDefaultEmailCoordinateText(),\n
)\n
\n
free_subscription_list = portal.portal_catalog(portal_type="Free Subscription",\n
......@@ -85,6 +86,7 @@ else:\n
resource=resource,\n
free_subscription_request_type="subscription",\n
causality=causality,\n
default_email_coordinate_text=portal.restrictedTraverse(destination).getDefaultEmailCoordinateText(),\n
)\n
\n
request.submit()\n
......
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