Commit ac4dc171 authored by Gabriel Monnerat's avatar Gabriel Monnerat

fixup! erp5_document_scanner: add an alarm which will delete outdated (>5 days...

fixup! erp5_document_scanner: add an alarm which will delete outdated (>5 days old) active_process created by the dialog.
parent 4b1458a5
...@@ -5,5 +5,5 @@ portal.portal_catalog.searchAndActivate( ...@@ -5,5 +5,5 @@ portal.portal_catalog.searchAndActivate(
method_id='ActiveProcess_removeItselfFromActivityTool', method_id='ActiveProcess_removeItselfFromActivityTool',
reference="document_scanner_js", reference="document_scanner_js",
# Active Process don't have creation date set # Active Process don't have creation date set
indexation_timestamp="< %s" % (DateTime()-5).earliestTime(), indexation_timestamp="< %s" % (DateTime()-4).earliestTime(),
) )
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