Bug 34770 - Add Logging option for ERM Agreements
Summary: Add Logging option for ERM Agreements
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: ERM (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Jonathan Druart
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-12 16:24 UTC by Ian Walls
Modified: 2023-09-26 07:12 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.