Commit Graph

845 Commits (b95fa78c7d97fff0f0652020fdc87bf4e5701e6c)

Author SHA1 Message Date
oca-ci 9b70a6d3f9 [UPD] Update html_text.pot 2022-02-02 13:18:26 +00:00
OCA-git-bot 510563ecb0 Merge PR #2256 into 15.0
Signed-off-by StefanRijnhart
2022-02-02 13:16:04 +00:00
BT-vgabor 75ffed3a4c [IMP] auditlog: black, isort, prettier 2022-01-31 15:22:20 +01:00
OCA Transbot ef7bf4f38b 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-01-31 15:20:58 +01:00
OCA-git-bot 58fbd412e9 auditlog 14.0.1.2.0 2022-01-31 15:20:58 +01:00
OCA-git-bot eaed6ec463 [UPD] README.rst 2022-01-31 15:20:58 +01:00
oca-travis 1c3f7236b7 [UPD] Update auditlog.pot 2022-01-31 15:20:58 +01:00
Kitti U cfe0e76507 [14.0][IMP] auditlog, add auditlog.log.line view 2022-01-31 15:20:58 +01:00
OCA Transbot bdfa12a93c 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-01-31 15:20:58 +01:00
OCA-git-bot aec5e9ae5e [UPD] README.rst 2022-01-31 15:20:58 +01:00
oca-travis 05abaf9a13 [UPD] Update auditlog.pot 2022-01-31 15:20:58 +01:00
Bhavesh Odedra 98b15358d0 [ADD] auditlog: test case for capture record 2022-01-31 15:20:58 +01:00
Bhavesh Odedra 0271f2d064 [ADD] auditlog: enable to track Unlink record 2022-01-31 15:20:58 +01:00
OCA-git-bot 65e7897113 auditlog 14.0.1.1.1 2022-01-31 15:20:58 +01:00
Stefan Rijnhart 9111232735 [FIX] auditlog: invalid XML
Fixes #2086
2022-01-31 15:20:58 +01:00
OCA Transbot 51321e5da1 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-01-31 15:20:58 +01:00
OCA-git-bot 1483fea7b7 [UPD] README.rst 2022-01-31 15:20:58 +01:00
oca-travis aa0c17311c [UPD] Update auditlog.pot 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
OCA-git-bot 719079975c auditlog 14.0.1.0.2 2022-01-31 15:20:58 +01:00
tslai 6a00a24dbf [14.0][FIX] Add sudo() to retrieve record vals 2022-01-31 15:20:58 +01:00
OCA-git-bot 14d307d46e auditlog 14.0.1.0.1 2022-01-31 15:20:58 +01:00
OCA-git-bot 49691e1055 [UPD] README.rst 2022-01-31 15:20:58 +01:00
Tom Blauwendraat 173d8e29ec [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-01-31 15:20:58 +01:00
oca-travis 5dff02e864 [UPD] Update auditlog.pot 2022-01-31 15:20:58 +01:00
Jesús Alan Ramos Rodríguez 46de099fae [MIG] auditlog: Migration to 14.0 2022-01-31 15:20:58 +01:00
Jesús Alan Ramos Rodríguez 20075056d9 [IMP] auditlog: black, isort, prettier 2022-01-31 15:20:58 +01:00
OCA-git-bot 43fbd85535 auditlog 13.0.1.0.1 2022-01-31 15:20:58 +01:00
OCA-git-bot 1d75db195b [UPD] README.rst 2022-01-31 15:20:58 +01:00
Eduardo Magdalena 29b5e87984 [FIX] Readme Images relative path 2022-01-31 15:20:58 +01:00
OCA Transbot ebbc09665c 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-01-31 15:20:58 +01:00
OCA-git-bot 3e5aeb07b8 [UPD] README.rst 2022-01-31 15:20:58 +01:00
oca-travis eb4e6036d6 [UPD] Update auditlog.pot 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
sebalix bc8f84e8cd [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-01-31 15:20:58 +01:00
Raf Ven ff7b8e7f6a [IMP] auditlog: black, isort, prettier 2022-01-31 15:20:58 +01:00
Eric Lembregts a694e2623e [MIG] auditlog: Migration to 13.0 2022-01-31 15:20:58 +01:00
黎伟杰 a21a29d0f7 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-01-31 15:20:58 +01:00
OCA-git-bot e672248a4b [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-01-31 15:20:58 +01:00
sebalix efd05a2ef4 [MIG] auditlog: Migration to 12.0 2022-01-31 15:20:58 +01:00
Rodrigo Macedo e7cbf1aca3 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-01-31 15:20:58 +01:00
oca-travis 117f526a75 [UPD] Update auditlog.pot 2022-01-31 15:20:58 +01:00
Stéphane Bidoul (ACSONE) 5940286efb remove obsolete .pot files [ci skip] 2022-01-31 15:20:58 +01:00
OCA Transbot e9dd820a16 OCA Transbot updated translations from Transifex 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
OCA Transbot 832c385bf1 OCA Transbot updated translations from Transifex 2022-01-31 15:20:58 +01:00
Oleg Bulkin e425735957 [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-01-31 15:20:58 +01:00
Stefan Rijnhart 623f559559 [FIX] Request id no longer exists after concurrency rollback 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