Bug 40742 - Add ability to anonymize resolved accountlines
Summary: Add ability to anonymize resolved accountlines
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-02 18:08 UTC by Sarah Cornell
Modified: 2025-09-02 20:33 UTC (History)
2 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sarah Cornell 2025-09-02 18:08:23 UTC
Patron information is saved in the accountlines table indefinitely even if the charge was resolved.  It would increase patron privacy if we could anonymize accountlines when they have been resolved, either immediately or after a set period of time. This could be based on the values in either amountoutstanding, status, or another field.
Comment 1 CJ Lynce 2025-09-02 20:33:29 UTC
I have thought about the same thing, and agree it would be helpful in maintaining patron privacy. Some transactions, like Lost item charges, and automatic lost item fee refunds, could be scrubbed immediately (the same way 'issues' are scrubbed after return). 

But other types, like in the case of a manual payment for a book, the information on the title and payment may need to be preserved for a little bit to allow for refunds if the library allows (my library allows for a refund within 6 months if the book is found). Having different policies for different transaction types might be difficult.