Commit 0d3ca18b authored by Gabriel Monnerat's avatar Gabriel Monnerat

erp5_document_scanner: Add reference to Active Process

With this, we can search easily active processes used by document scanner and remove them
parent 3cc5e0bd
<property_sheet_list>
<portal_type id="Active Process">
<item>Reference</item>
</portal_type>
</property_sheet_list>
\ No newline at end of file
......@@ -14,6 +14,7 @@ if active_process_url:
active_process = portal.restrictedTraverse(active_process_url)
else:
active_process = portal.portal_activities.newActiveProcess()
active_process.setReference("document_scanner_js")
if generate_new_uid:
id_group = ('document_scanner_js', active_process.getUid())
......
Active Process | Reference
\ 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