Commit 6cc2ee50 authored by Rafael Monnerat's avatar Rafael Monnerat

Event should be planned at the begin of the tutorial

The tutorial expects that the event is in Planned state.
parent 95c862e1
...@@ -123,6 +123,7 @@ event = portal.event_module.newContent(portal_type=\'Mail Message\',\n ...@@ -123,6 +123,7 @@ event = portal.event_module.newContent(portal_type=\'Mail Message\',\n
default_follow_up =campaign.getRelativeUrl(),\n default_follow_up =campaign.getRelativeUrl(),\n
description=howto_dict[\'post_event_howto_event_description\'],\n description=howto_dict[\'post_event_howto_event_description\'],\n
text_content=howto_dict[\'post_event_howto_event_content\'])\n text_content=howto_dict[\'post_event_howto_event_content\'])\n
event.plan()\n
\n \n
context.portal_caches.clearAllCache()\n context.portal_caches.clearAllCache()\n
\n \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