Bug 34770

Summary: Add Logging option for ERM Agreements
Product: Koha Reporter: Ian Walls <ian>
Component: ERMAssignee: Jonathan Druart <jonathan.druart>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P5 - low CC: jonathan.druart, jonathan.field, martin.renvoize, matt.blenkinsop, pedro.amorim
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Ian Walls 2023-09-12 16:24:00 UTC
Requirements:

* a syspref in the Logging section, AgreementsLog, to toggle the feature - default to false
* On creation of an Agreement, log a 'Create' action with C4::Log::logaction()
* On update of an Agreement, log an 'Update' action, including which fields are changed
Comment 1 Pedro Amorim 2023-09-25 09:36:08 UTC
I propose a (slightly) bigger effort to add abstract logging to all ERM content tables, instead of agreements specific.

Ideally, we'd go a step further and add abstract logging to all Koha content tables, but this is likely not reasonable at the moment.
Comment 2 Jonathan Druart 2023-09-26 07:12:20 UTC
Keep in mind that bug 25159 is on its way.