Commit Graph

24 Commits (db228206ce3ad524e2a340caee13563e453a94bb)

Author SHA1 Message Date
sebalix db228206ce [FIX] Module 'auditlog' - local variable 'ir_model' is assigned to but never used 2022-01-31 15:20:58 +01:00
Holger Brunn f4230a1817 [ADD] tests 2022-01-31 15:20:58 +01:00
Holger Brunn 21a40ac932 [FIX] cope with no additional log values 2022-01-31 15:20:58 +01:00
Holger Brunn 4ca0ea1fe0 [ADD] pass old_values to create_log when deleting a record 2022-01-31 15:20:58 +01:00
Holger Brunn ef0eda9b3c [FIX] don't reset caches in register_hook 2022-01-31 15:20:58 +01:00
Holger Brunn 5a89e41207 [IMP] don't make a temporary copy of dict keys 2022-01-31 15:20:58 +01:00
Holger Brunn 4d2b273d2e [IMP] cache model and field ids 2022-01-31 15:20:58 +01:00
Holger Brunn 91b449bbfa [ADD] allow overriding modules to pass additional log values 2022-01-31 15:20:58 +01:00
Holger Brunn 038ea14d48 [IMP] use new import of _, SUPERUSER_ID 2022-01-31 15:20:58 +01:00
Holger Brunn d04c2f8420 [ADD] change xmlids of legacy rules to point to auditlog.rule 2022-01-31 15:20:58 +01:00
sebalix 9164aa097f [IMP] Module 'auditlog' - Contributors updated in README.rst + AUTHORS.txt file removed 2022-01-31 15:20:58 +01:00
Holger Brunn b13b82bf10 [FIX] also migrate id sequences 2022-01-31 15:20:58 +01:00
Holger Brunn c23f43a91e [ADD] init hook to migrate from audittrail 2022-01-31 15:20:58 +01:00
Holger Brunn df889c51bc [IMP] ignore rules for nonexisting objects 2022-01-31 15:20:58 +01:00
sebalix 41585b59a7 [FIX] Module 'auditlog' - 'time' module imported but unused 2022-01-31 15:20:58 +01:00
sebalix ef955552e2 [IMP] Module 'auditlog' - README.rst updated (based on the OCA template) 2022-01-31 15:20:58 +01:00
sebalix 0c65a040ce [IMP] Module 'auditlog' - Removed the 'timestamp' field from the 'auditlog.log' model (standard 'create_date' field is used instead) 2022-01-31 15:20:58 +01:00
sebalix a5ccc5235e [IMP] Module 'auditlog' - Add 'name' attributes on some filters and other minor fixes 2022-01-31 15:20:58 +01:00
sebalix 98d2cfa52f [IMP] Module 'auditlog' - Clean up vim lines 2022-01-31 15:20:58 +01:00
sebalix e1e3573d66 [IMP] Module 'auditlog' - Split the 'create_logs()' method in several ones to make overridding easier 2022-01-31 15:20:58 +01:00
sebalix 8e5f59c974 [ADD] Module 'auditlog' - 'auditlog.pot' file added 2022-01-31 15:20:58 +01:00
sebalix c57cf17d55 [FIX] Module 'auditlog' - Put the module description in a README.rst file 2022-01-31 15:20:58 +01:00
sebalix 60ef7a6cae [FIX] Module 'auditlog' - Fix some flake8 errors 2022-01-31 15:20:58 +01:00
sebalix 2d43f943be [ADD] Module 'auditlog' - A substitute to the deprecated 'audittrail' module 2022-01-31 15:20:58 +01:00