Commit 2174b467 authored by Nicolas Delaby's avatar Nicolas Delaby

Provide a recipient on Incoming Web Message

parent 02c3cdc5
......@@ -164,7 +164,11 @@ if context.getPortalType() == \'Web Message\' and\\\n
resource=portal.portal_preferences.getPreferredSupportRequestResource(),\n
source_section=portal.portal_preferences.getPreferredSection(),\n
start_date=DateTime())\n
# if event as no recipient read it from ticket\n
if not event.hasDestination():\n
event.setDestination(ticket.getSourceSection())\n
\n
# Associate ticket to current event\n
follow_up_list = context.getFollowUpList()\n
if ticket.getRelativeUrl() not in follow_up_list:\n
follow_up_list.append(ticket.getRelativeUrl())\n
......
549
\ No newline at end of file
550
\ 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