mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-03-27 11:22:47 +00:00
Switches OcrConfig.__post_init__ from reading the old skip_archive_file attribute to the new archive_file_generation attribute, with a getattr fallback to skip_archive_file for compatibility until Task 4 renames the DB model field. Updates null_app_config fixtures in both the parser conftest and the new test_ocr_config.py to explicitly set both attributes to None so MagicMock doesn't return truthy auto-generated attributes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>