mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 10:36:58 +01:00
Enhancement: support workflow path matching of barcode-split documents (#10723)
This commit is contained in:
parent
53b393dab5
commit
4ff09c4cf4
4 changed files with 16 additions and 2 deletions
|
|
@ -164,6 +164,9 @@ class BarcodePlugin(ConsumeTaskPlugin):
|
|||
mailrule_id=self.input_doc.mailrule_id,
|
||||
# Can't use same folder or the consume might grab it again
|
||||
original_file=(tmp_dir / new_document.name).resolve(),
|
||||
# Adding optional original_path for later uses in
|
||||
# workflow matching
|
||||
original_path=self.input_doc.original_file,
|
||||
),
|
||||
# All the same metadata
|
||||
self.metadata,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue