Commit 6f65970a authored by Jérome Perrin's avatar Jérome Perrin

FEC: delete active process at the end of report computation

parent e6e9ca56
......@@ -80,6 +80,9 @@ portal.ERP5Site_notifyReportComplete(\n
subject=unicode(translateString(\'French Accounting Transaction File\')),\n
message=\'\',\n
attachment_list=attachment_list)\n
\n
# delete no longer needed active process\n
active_process.getParentValue().manage_delObjects(ids=[active_process.getId()])\n
</string> </value>
</item>
<item>
......
......@@ -65,6 +65,9 @@ if result_list:\n
result_list=result_list)\n
\n
active_process.postResult(ActiveResult(detail=journal_fragment.encode(\'utf8\').encode(\'zlib\')))\n
\n
# delete no longer needed active process\n
this_portal_type_active_process.getParentValue().manage_delObjects(ids=[this_portal_type_active_process.getId()])\n
</string> </value>
</item>
<item>
......
31
\ No newline at end of file
32
\ 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