Commit Graph

144 Commits (adce17d82975dfa34d1d40e4562ea3c8ffb07dc4)

Author SHA1 Message Date
Martin Schmid adce17d829 [ADD] German translation for auditlog 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 d1e445fcf0 [FIX] Module 'auditlog' - Support 'read' calls with one ID or a list of IDs 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
Alexandre Fayolle 106cbfdd6e Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
2022-01-31 15:20:58 +01:00
Holger Brunn 03cd888ee9 [ADD] migration script 2022-01-31 15:20:58 +01:00
sebalix 0a5b910ea1 [FIX] Module 'auditlog' - When updating a resource, filter IDs on 2many fields to prevent a 'name_get()' call on potential deleted resources 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 42d4f01c9f [FIX] Module 'auditlog' - Data dictionaries of fields and models are put in the cache instead of recordsets (a recordset contains a reference on the database cursor which is closed after each RPC query) 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
sebalix 12c510ed9c [IMP] Module 'auditlog' - Model 'auditlog.log.line', 'field_name' and 'field_description' fields changed into related fields 2022-01-31 15:20:58 +01:00
sebalix c17bc59981 [IMP] Module 'auditlog' - Autoremove 'auditlog.log.line' records when a field is deleted (e.g. migration) 2022-01-31 15:20:58 +01:00
sebalix ca0c68fee9 [IMP] Module 'auditlog' - Useless lines of code removed 2022-01-31 15:20:58 +01:00
sebalix 6f437a1e08 [IMP] Module 'auditlog' - README.rst updated (inform that the audittrail data - if any - are migrated during the installation) 2022-01-31 15:20:58 +01:00
sebalix ef53185d3f [FIX] Module 'auditlog' - Remove 'active' field from __openerp__.py 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
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
OCA-git-bot ddbf1b75c1 [ADD] setup.py 2021-12-27 17:28:13 +00:00
OCA-git-bot 8e0413a2d8 [UPD] README.rst 2021-12-27 17:28:12 +00:00
OCA-git-bot ece589b31f [UPD] addons table in README.md 2021-12-27 17:28:11 +00:00
oca-ci aacd95bd47 [UPD] Update fetchmail_incoming_log.pot 2021-12-27 17:25:12 +00:00
OCA-git-bot 8f3a1b061d Merge PR #2214 into 15.0
Signed-off-by pedrobaeza
2021-12-27 17:22:58 +00:00
OCA-git-bot 351e4d88fd [ADD] setup.py 2021-12-20 07:53:42 +00:00
OCA-git-bot 7af8e27e59 [UPD] README.rst 2021-12-20 07:53:41 +00:00
OCA-git-bot 8e8a3ccf29 [UPD] addons table in README.md 2021-12-20 07:53:41 +00:00
oca-ci 857f7467e6 [UPD] Update base_cron_exclusion.pot 2021-12-20 07:51:43 +00:00