Commit 84d6267b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

erp5_document_scanner: use SQLQueue for uploading activities.

so that several activities can happen for the same Person.
parent a303b4f8
...@@ -24,7 +24,7 @@ portal.portal_selections.setSelectionParamsFor( ...@@ -24,7 +24,7 @@ portal.portal_selections.setSelectionParamsFor(
# Avoid to pass huge images to the activity # Avoid to pass huge images to the activity
kw.pop("your_document_scanner_gadget", None) kw.pop("your_document_scanner_gadget", None)
context.activate().Base_uploadDocumentFromCamera( context.activate(activity='SQLQueue').Base_uploadDocumentFromCamera(
publication_state=publication_state, publication_state=publication_state,
active_process_url=active_process_url, active_process_url=active_process_url,
image_list=image_list, image_list=image_list,
......
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