Fix: Document metadata is lost during barcode splitting (#4982)

* Fixes barcode splitting dropping metadata that might be needed for the round 2
This commit is contained in:
Trenton H authored and GitHub committed 2023-12-15 09:17:25 -08:00
1 parent be2de4f15d
commit 122e4141b0
4 files changed
+168 -302

No files matched your search

+1 -1
View File
@@ -140,7 +140,7 @@ def consume_file(
with BarcodeReader(input_doc.original_file, input_doc.mime_type) as reader:
if settings.CONSUMER_ENABLE_BARCODES and reader.separate(
input_doc.source,
overrides.filename,
overrides,
):
# notify the sender, otherwise the progress bar
# in the UI stays stuck