Commit Graph

1559 Commits (5217da79395a94cb35364e8a1cd85f1dddb9b450)

Author SHA1 Message Date
oca-ci 97128f208e [UPD] Update auditlog.pot 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
BT-vgabor 3059c6b20c [IMP] auditlog: black, isort, prettier 2022-11-18 13:12:58 +01:00
OCA Transbot d7d8eeb548 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-14.0/server-tools-14.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-auditlog/
2022-11-18 13:12:58 +01:00
OCA-git-bot 6808693669 auditlog 14.0.1.2.0 2022-11-18 13:12:58 +01:00
OCA-git-bot f7db93fd0d [UPD] README.rst 2022-11-18 13:12:58 +01:00
oca-travis eba2417e72 [UPD] Update auditlog.pot 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
OCA Transbot 9d802b5507 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-14.0/server-tools-14.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-auditlog/
2022-11-18 13:12:58 +01:00
OCA-git-bot 37b187a75f [UPD] README.rst 2022-11-18 13:12:58 +01:00
oca-travis 1c29211cce [UPD] Update auditlog.pot 2022-11-18 13:12:58 +01:00
Bhavesh Odedra bf727fc6a5 [ADD] auditlog: test case for capture record 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
OCA-git-bot cc42565123 auditlog 14.0.1.1.1 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
OCA Transbot b3126e922a Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-14.0/server-tools-14.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-auditlog/
2022-11-18 13:12:57 +01:00
OCA-git-bot 62a4bd4ff5 [UPD] README.rst 2022-11-18 13:12:57 +01:00
oca-travis c2d609132f [UPD] Update auditlog.pot 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
OCA-git-bot db4324653d auditlog 14.0.1.0.2 2022-11-18 13:12:57 +01:00
tslai a92184c6a4 [14.0][FIX] Add sudo() to retrieve record vals 2022-11-18 13:12:57 +01:00
OCA-git-bot c6f2f208ab auditlog 14.0.1.0.1 2022-11-18 13:12:57 +01:00
OCA-git-bot 0c85909aea [UPD] README.rst 2022-11-18 13:12:57 +01:00
Tom Blauwendraat 14ee0edbf9 [IMP] Dont query non-stored related or computed fields on full auditlog, this can slow down the system a lot and gives no useful info 2022-11-18 13:12:57 +01:00
oca-travis 24eb17c784 [UPD] Update auditlog.pot 2022-11-18 13:12:57 +01:00
Jesús Alan Ramos Rodríguez 9e52d843cb [MIG] auditlog: Migration to 14.0 2022-11-18 13:12:57 +01:00
Jesús Alan Ramos Rodríguez 786683cfff [IMP] auditlog: black, isort, prettier 2022-11-18 13:12:57 +01:00
OCA-git-bot 9ea9a9b5ea auditlog 13.0.1.0.1 2022-11-18 13:12:57 +01:00
OCA-git-bot 80f6a78ab0 [UPD] README.rst 2022-11-18 13:12:57 +01:00
Eduardo Magdalena 08595331aa [FIX] Readme Images relative path 2022-11-18 13:12:57 +01:00
OCA Transbot ff414ca917 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-13.0/server-tools-13.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-13-0/server-tools-13-0-auditlog/
2022-11-18 13:12:57 +01:00
OCA-git-bot 4c9dab684e [UPD] README.rst 2022-11-18 13:12:57 +01:00
oca-travis d6d423aac8 [UPD] Update auditlog.pot 2022-11-18 13:12:57 +01:00
sebalix 2fe2d13b21 [FIX] auditlog: add support for create multi 2022-11-18 13:12:57 +01:00
sebalix 709d61f60e [FIX] auditlog: log computed fields stored in db as expected
Fixing #1134.
Odoo stores values of computed fields at the end of the transaction
only, as such performing a 'read()' to make a data snapshot on the record
created in the current transaction doesn't return the expected result
regarding these fields.
Also as a side-effect 'read()' alters the environment cache and break the
values on the record inducing issues in the whole user
transaction/workflow.

This fix replaces the use of 'read()' to do the data snapshot directly
from the cache of the record (computed values are already there).
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
黎伟杰 83b470a79b Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (70 of 70 strings)

Translation: server-tools-12.0/server-tools-12.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-auditlog/zh_CN/
2022-11-18 13:12:57 +01:00
OCA-git-bot e750cb5136 [UPD] README.rst
[UPD] Update auditlog.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-12.0/server-tools-12.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-auditlog/

[UPD] README.rst
2022-11-18 13:12:57 +01:00
sebalix 3487299909 [MIG] auditlog: Migration to 12.0 2022-11-18 13:12:57 +01:00
Rodrigo Macedo b8a390526a Translated using Weblate
Currently translated at 100,0% (70 of 70 strings)

Translation: server-tools-11.0/server-tools-11.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-11-0/server-tools-11-0-auditlog/pt_BR/
2022-11-18 13:12:57 +01:00
oca-travis 457668cd4c [UPD] Update auditlog.pot 2022-11-18 13:12:57 +01:00
Stéphane Bidoul (ACSONE) fbc0e21e4d remove obsolete .pot files [ci skip] 2022-11-18 13:12:57 +01:00
OCA Transbot f7aedc9e6a OCA Transbot updated translations from Transifex 2022-11-18 13:12:57 +01:00
rgarnau 3959096570 [add] https 2022-11-18 13:12:57 +01:00
Enric Tobella e3d6d8bbd2 [MIG] auditlog: Migration to 11.0 2022-11-18 13:12:57 +01:00
OCA Transbot 39ef34e5ec OCA Transbot updated translations from Transifex 2022-11-18 13:12:57 +01:00
Oleg Bulkin 24c858f2c0 [FIX] auditlog: Duplicate logging
* Update _patch_methods and _revert_methods in auditlog.rule model to properly
track whether a method has already been patched for logging purposes. This
prevents duplicate logs from being produced in various cases (e.g. when a
logging rule is created as part of a module install)
2022-11-18 13:12:57 +01:00
Stefan Rijnhart 29716c7928 [FIX] Request id no longer exists after concurrency rollback 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