Documents workflow: draft PDFs that are not "sent", comparing CV versions, and plain-text and DOCX export #236
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Postulo/postulo#236
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Three gaps between what the documents pages promise and what a job seeker needs. Found in the 2026-09-15 code audit.
1. Every "Export PDF" is filed as a sent document and copied to every store
CVExportView(documents/views.py:179-194) callssnapshot_cv, which creates aRenderedDocument. Thepost_savesignal (signals.py:21-28) then queues it for Paperless and every other store.rendering.py:320-327); CVs are not, and the computedchecksumis never used.Proposal:
2. Versions cannot be compared
source_textis the whole themed HTML, CSS included (rendering.py:300); a letter stores plain text (:356).models.py:474-476).rendered_list.htmlandcv_detail.htmlonly offer Download.Proposal: store a plain-text version of the sections for CVs, and add Compare with previous between two renders of the same source (unified diff or
difflib.HtmlDiff), linked from the application's documents.3. CVs export only as PDF
Many applicant tracking systems and public-sector portals ask for DOCX or a pasted text version.
pdf.pyhas only PDF backends.This is distinct from #181, which is about the whole career record rather than one CV variant.
Proposal:
build_sectionsin the document's language.