mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 00:57:09 +01:00
Feature: Parse ASN from barcode
ASN-Barcodes are identified by a configurable prefix
This commit is contained in:
parent
585cc24dd5
commit
92b9fc1ba9
4 changed files with 72 additions and 0 deletions
|
|
@ -657,6 +657,16 @@ CONSUMER_BARCODE_STRING: Final[str] = os.getenv(
|
|||
"PATCHT",
|
||||
)
|
||||
|
||||
CONSUMER_ENABLE_ASN_BARCODE: Final[bool] = __get_boolean(
|
||||
"PAPERLESS_CONSUMER_ENABLE_ASN_BARCODE",
|
||||
)
|
||||
|
||||
CONSUMER_ASN_BARCODE_PREFIX: Final[str] = os.getenv(
|
||||
"PAPERLESS_CONSUMER_ASN_BARCODE_PREFIX",
|
||||
"ASN",
|
||||
)
|
||||
|
||||
|
||||
OCR_PAGES = int(os.getenv("PAPERLESS_OCR_PAGES", 0))
|
||||
|
||||
# The default language that tesseract will attempt to use when parsing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue