Submitted documents in Framework M are strictly immutable. To handle real-world edits without breaking the ledger, we are proposing three patterns:
-
Audit Timeline (
AuditMixin)- Append-only log.
- No edits/deletes.
- Mandatory categories (e.g. Correction Reason).
-
Sibling Extensions
- Keep financial docs locked.
- Link an editable "Sibling" DocType for metadata (Driver, Vehicle, etc).
- UI overlays these fields so it feels like one document.
-
Correction Wizard
- Automation for "Cancel-Amend-Resubmit".
- One click: Asks for reason -> Cancels -> Creates new Draft -> Redirects.
Discussion MR: GitLab MR !111
Thoughts?