Commit 8e7ab86a authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_crm: Fix mark event as received (correct transition is stopped)

parent 849ddf4d
......@@ -56,8 +56,8 @@ if portal.Base_getHMACHexdigest(portal.Base_getEventHMACKey(), event_id) != hmac
raise Unauthorized\n
\n
event = portal.event_module[event_id]\n
if portal.portal_workflow.isTransitionPossible(event, \'receive\'):\n
event.receive()\n
if portal.portal_workflow.isTransitionPossible(event, \'stop\'):\n
event.stop()\n
</string> </value>
</item>
<item>
......
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