Commit Graph

21 Commits (2afed18401c912cd1c6a83be329fea6274b01760)

Author SHA1 Message Date
Enric Tobella fe3fb42df9 [IMP] auditlog: make the line views using a non auto model 2022-12-28 13:57:39 +01:00
Stefan Rijnhart c8671aa35b [MIG] auditlog: Migration to 16.0 2022-11-18 13:54:56 +01:00
Atchuthan Ubendran 470d8def8a Add option to Eliminate user and fields in audit logs 2022-11-18 13:12:58 +01:00
BT-vgabor 6dfa4ae522 [MIG] auditlog: Migration to 15.0 2022-11-18 13:12:58 +01:00
Kitti U 06e4130b33 [14.0][IMP] auditlog, add auditlog.log.line view 2022-11-18 13:12:58 +01:00
Bhavesh Odedra 2ab065271d [ADD] auditlog: enable to track Unlink record 2022-11-18 13:12:57 +01:00
Stefan Rijnhart b36c4bf935 [FIX] auditlog: invalid XML
Fixes #2086
2022-11-18 13:12:57 +01:00
Pieter Paulussen 3b73d50906 [IMP] auditlog: prevent cascading delete of logs when models or fields are unlinked
When a field or a model is unlinked, keep the related audit logs. Denormalize
the field and model info on the logs and log lines so that the information
is still available after the deletion of the related data model.

Also, to improve the performance of the deletion of fields and models,
add indexes on the log's model_id and log line's field_id.

Co-Authored-By: Stefan Rijnhart <stefan@opener.am>
2022-11-18 13:12:57 +01:00
Raf Ven 732654f95f [IMP] auditlog: black, isort, prettier 2022-11-18 13:12:57 +01:00
Eric Lembregts 1b1f827c1b [MIG] auditlog: Migration to 13.0 2022-11-18 13:12:57 +01:00
Frédéric Garbely 4e1e1eacff [MIG] auditlog: Migrated to 10.0 2022-11-18 13:12:57 +01:00
Holden Rehg de52936630 Migrate auditlog module from 8.0 to 9.0
- Update documentation to point to the new auditlog menu locations. These were changed because the 8.0 version was referencing menus that do not exist in 9.0
- Change version from 8.0.X.Y.Z to 9.0.1.0.0
- Make the module installable again
- Remove an unused parameter from pre-migration.py for versioning
- Fix typos and remove commented out blocks of code that were irrelevant
2022-11-18 13:12:57 +01:00
sebalix ebd69dbb72 auditlog - Field 'type' renamed to 'log_type' 2022-11-18 13:12:57 +01:00
sebalix 9808fa08c7 auditlog - Ability to choose the log type on the rule: Full log (complete but slow) and Fast log (data input only, faster) 2022-11-18 13:12:57 +01:00
sebalix 7e7cfe2f8c Module 'auditlog' - 'display_name' fields added for the user session and HTTP requests models 2022-11-18 13:12:57 +01:00
sebalix d4de3d63d5 Module 'auditlog' - Cleanup XML views (types removed) 2022-11-18 13:12:57 +01:00
sebalix 4c11ec5b2e Module 'auditlog' - Log HTTP user sessions and requests 2022-11-18 13:12:57 +01:00
sebalix 1010b0ac1c [IMP] Module 'auditlog' - Performing logs on 'read' operations + Some bugfixes to log inherited fields and dummy fields such as 'in_group_X' in 'res.users' model + Unit tests updated 2022-11-18 13:12:57 +01:00
sebalix ae87645d6b [IMP] Module 'auditlog' - Removed the 'timestamp' field from the 'auditlog.log' model (standard 'create_date' field is used instead) 2022-11-18 13:12:57 +01:00
sebalix 7e5d2f0922 [IMP] Module 'auditlog' - Add 'name' attributes on some filters and other minor fixes 2022-11-18 13:12:57 +01:00
sebalix 65517c4bcf [ADD] Module 'auditlog' - A substitute to the deprecated 'audittrail' module 2022-11-18 13:12:57 +01:00