Commit Graph

23 Commits (27897a74d0d0e5c20885ff1b78bf8fb57d97c7e4)

Author SHA1 Message Date
Enric Tobella 678bc5a5d2 [IMP] auditlog: make the line views using a non auto model 2022-12-28 13:32:06 +01:00
Atchuthan Ubendran 64a1990fad Add option to Eliminate user and fields in audit logs 2022-09-27 09:20:02 +02:00
BT-vgabor 1d830e1d4a [MIG] auditlog: Migration to 15.0 2022-03-14 09:12:32 +01:00
BT-vgabor 75ffed3a4c [IMP] auditlog: black, isort, prettier 2022-01-31 15:22:20 +01:00
Bhavesh Odedra 98b15358d0 [ADD] auditlog: test case for capture record 2022-01-31 15:20:58 +01:00
Pieter Paulussen cba7583075 [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-01-31 15:20:58 +01:00
sebalix d6a3f22e41 [FIX] auditlog: add support for create multi 2022-01-31 15:20:58 +01:00
Raf Ven ff7b8e7f6a [IMP] auditlog: black, isort, prettier 2022-01-31 15:20:58 +01:00
sebalix efd05a2ef4 [MIG] auditlog: Migration to 12.0 2022-01-31 15:20:58 +01:00
rgarnau 4f1c383fbb [add] https 2022-01-31 15:20:58 +01:00
Enric Tobella 0ebb0848e9 [MIG] auditlog: Migration to 11.0 2022-01-31 15:20:58 +01:00
Frédéric Garbely fb57c31c89 [MIG] auditlog: Migrated to 10.0 2022-01-31 15:20:58 +01:00
Sébastien Alix fe44df6af7 auditlog - Icon added + README updated (screenshots) 2022-01-31 15:20:58 +01:00
sebalix 380e0f7e62 auditlog - Ability to choose the log type on the rule: Full log (complete but slow) and Fast log (data input only, faster) 2022-01-31 15:20:58 +01:00
sebalix 20bf59ddd6 [IMP] Module 'auditlog' - Remove the unit test causing trouble with Travis CI 2022-01-31 15:20:58 +01:00
sebalix 51238c854b [IMP] Module 'auditlog' - Unsubscribe rules before removing them + Unit tests updated 2022-01-31 15:20:58 +01:00
sebalix e4aec27320 [FIX] Module 'auditlog' - Unit tests, do not create users with the 'notify_email' field 2022-01-31 15:20:58 +01:00
sebalix 34a9ee77f4 [FIX] Module 'auditlog' - Replace 'try/except statement by 'isinstance()' + Add missing field in unit test + Remove a list comprehension 2022-01-31 15:20:58 +01:00
sebalix 88bd8f19d0 [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-01-31 15:20:58 +01:00
sebalix f309826faa [IMP] Module 'auditlog' - Add a test regarding a resource deleted through a (2, ID) tuple on a write operation 2022-01-31 15:20:58 +01:00
sebalix 76c90f01f9 [IMP] Module 'auditlog' - Added a second test using cached data generated during the first test 2022-01-31 15:20:58 +01:00
Holger Brunn 677a783d6e [IMP] use a model for test that is not influenced by the mail module 2022-01-31 15:20:58 +01:00
Holger Brunn f4230a1817 [ADD] tests 2022-01-31 15:20:58 +01:00