/PaperlessScripts

This repository contains scripts to help with some paperless workflows.

Primary LanguagePython

Paperless Scripts

This repository contains scripts to help with some paperless workflows.

Installation

Linux

  1. Clone this repository
  2. Create a virtual environment: python -m venv venv
  3. Activate the virtual environment: source venv/bin/activate
  4. Install the requirements: pip install -r requirements.txt

Windows

  1. Clone this repository
  2. Create a virtual environment: python -m venv venv
  3. Activate the virtual environment: venv\Scripts\activate.bat or source venv\Scripts\activate
  4. Install the requirements: pip install -r requirements.txt

Usage

Generate ASNs

Display the help message for more information:

python asn/generate.py -h

You will finde the generated PDFs in the asn folder.

You can visit also the Makefile for more information about the usage.

Sources

  1. Paperless QR-Code ASN
  2. Generate ASN
  3. Custom ASN script

API - Scripts

Manage paperless user defined fields for documenttypes

  1. configure config.py and config_documenttypes.py, use *.template if you want an example
  2. Initially use organize-doctype-fields to change all existing documents in your paperless instance
  3. Regulary use update-open-document-fields.py to update documents with tag "Offen" for defined type fields