Pieter Paulussen
9483c8b3c9
[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>
2023-11-14 15:19:45 +01:00
sebalix
4d2563f730
[FIX] auditlog: add support for create multi
2023-11-14 15:19:45 +01:00
Raf Ven
3491f6876e
[IMP] auditlog: black, isort, prettier
2023-11-14 15:19:45 +01:00
sebalix
a1dd8ec951
[MIG] auditlog: Migration to 12.0
2023-11-14 15:19:44 +01:00
rgarnau
b265568ba1
[add] https
2023-11-14 15:19:44 +01:00
Enric Tobella
fe82a64ac4
[MIG] auditlog: Migration to 11.0
2023-11-14 15:19:44 +01:00
Frédéric Garbely
f5cc6a9ac9
[MIG] auditlog: Migrated to 10.0
2023-11-14 15:19:44 +01:00
Sébastien Alix
9bcbe57e7d
auditlog - Icon added + README updated (screenshots)
2023-11-14 15:19:44 +01:00
sebalix
878441e622
auditlog - Ability to choose the log type on the rule: Full log (complete but slow) and Fast log (data input only, faster)
2023-11-14 15:19:44 +01:00
sebalix
24e4d2315f
[IMP] Module 'auditlog' - Remove the unit test causing trouble with Travis CI
2023-11-14 15:19:44 +01:00
sebalix
cbab6b1cca
[IMP] Module 'auditlog' - Unsubscribe rules before removing them + Unit tests updated
2023-11-14 15:19:44 +01:00
sebalix
0fc9de4682
[FIX] Module 'auditlog' - Unit tests, do not create users with the 'notify_email' field
2023-11-14 15:19:44 +01:00
sebalix
fba30d2c78
[FIX] Module 'auditlog' - Replace 'try/except statement by 'isinstance()' + Add missing field in unit test + Remove a list comprehension
2023-11-14 15:19:44 +01:00
sebalix
cfdeb6ab3c
[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
2023-11-14 15:19:44 +01:00
sebalix
0069c7175a
[IMP] Module 'auditlog' - Add a test regarding a resource deleted through a (2, ID) tuple on a write operation
2023-11-14 15:19:44 +01:00
sebalix
388e7368d9
[IMP] Module 'auditlog' - Added a second test using cached data generated during the first test
2023-11-14 15:19:44 +01:00
Holger Brunn
0b2dfdf2e1
[IMP] use a model for test that is not influenced by the mail module
2023-11-14 15:19:44 +01:00
Holger Brunn
e2cd564bd3
[ADD] tests
2023-11-14 15:19:44 +01:00