Commit e2bfea7a authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_document_scanner: Remove Active Process after create the PDF

parent 5f7a9142
......@@ -19,6 +19,9 @@ extra_document_kw = {
kw.get("title") or DateTime().strftime('%d-%m-%Y_%Hh%M'))
}
return context.Base_contribute(file=file_object,
extra_document_kw=extra_document_kw,
**kw)
context.Base_contribute(file=file_object,
batch_mode=True,
extra_document_kw=extra_document_kw,
**kw)
portal.portal_activities.manage_delObjects(ids=[active_process.getId(),])
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