Commit Graph

1410 Commits (2d2f6368c2918e608d08ec28ff12b4f4c43ba6a4)

Author SHA1 Message Date
OCA-git-bot ebacf7de5a auditlog 16.0.2.0.2 2023-11-14 15:19:45 +01:00
SilvioC2C 448cfe42a0 FIX: auditlog consistency with Many2one fields
Odoo allows creating or updating records with values like ``{"many2one_field_id": empty.recordset()}``,
but this crashes when using ``deepcopy``, which fails in recreating the ``api.Environment`` object
attached to the recordset.
This commit should fix the issue by updating the values before passing them to ``deepcopy``.
2023-11-14 15:19:45 +01:00
OCA-git-bot b4f8eb972c [UPD] README.rst 2023-11-14 15:19:45 +01:00
Ivorra78 f8a65b0ad8 Translated using Weblate (Spanish)
Currently translated at 100.0% (88 of 88 strings)

Translation: server-tools-16.0/server-tools-16.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-auditlog/es/
2023-11-14 15:19:45 +01:00
mymage ccac7a9dd2 Translated using Weblate (Italian)
Currently translated at 36.3% (32 of 88 strings)

Translation: server-tools-16.0/server-tools-16.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-auditlog/it/
2023-11-14 15:19:45 +01:00
Matjaz Mozetic 93026bf6a3 Translated using Weblate (Slovenian)
Currently translated at 78.4% (69 of 88 strings)

Translation: server-tools-16.0/server-tools-16.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-auditlog/sl/
2023-11-14 15:19:45 +01:00
mymage 3883f7b957 Translated using Weblate (Italian)
Currently translated at 36.3% (32 of 88 strings)

Translation: server-tools-16.0/server-tools-16.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-auditlog/it/
2023-11-14 15:19:45 +01:00
OCA-git-bot 4450fe4d3b auditlog 16.0.2.0.1 2023-11-14 15:19:45 +01:00
OCA-git-bot 4581f780c3 [UPD] README.rst 2023-11-14 15:19:45 +01:00
Holger Brunn a8ed8132fd [FIX] auditlog: Allow passing a chunk size for autovacuum 2023-11-14 15:19:45 +01:00
Ignacio Buioli 15b4e05540 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (88 of 88 strings)

Translation: server-tools-16.0/server-tools-16.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-auditlog/es_AR/
2023-11-14 15:19:45 +01:00
Weblate aeb68fa569 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-16.0/server-tools-16.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-auditlog/
2023-11-14 15:19:45 +01:00
OCA-git-bot 914b409434 auditlog 16.0.2.0.0 2023-11-14 15:19:45 +01:00
oca-ci 7d910fd15a [UPD] Update auditlog.pot 2023-11-14 15:19:45 +01:00
Enric Tobella 41178c6970 [IMP] auditlog: make the line views using a non auto model 2023-11-14 15:19:45 +01:00
Ignacio Buioli 7bda32d6dc Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (86 of 86 strings)

Translation: server-tools-16.0/server-tools-16.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-auditlog/es_AR/
2023-11-14 15:19:45 +01:00
Weblate d48d14ce47 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-16.0/server-tools-16.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-auditlog/
2023-11-14 15:19:45 +01:00
OCA-git-bot a95c15ea50 [UPD] README.rst 2023-11-14 15:19:45 +01:00
oca-ci 460a0d326e [UPD] Update auditlog.pot 2023-11-14 15:19:45 +01:00
Bert Van Groenendael 737c81b25f [IMP] auditlog: dedicated security groups for model access 2023-11-14 15:19:45 +01:00
Stefan Rijnhart 1434cedc89 [MIG] auditlog: Migration to 16.0 2023-11-14 15:19:45 +01:00
OCA-git-bot 37b060d5d6 auditlog 15.0.1.1.1 2023-11-14 15:19:45 +01:00
Alexandre Fayolle a6c49ce538 [FIX] auditlog: autovacuum performance
Add database indices on the foreign key fields of the auditlog models.
Without these indices, the performance of the autovacuum cron are terrible
because the "ON DELETE SET NULL" trigger has to make a full table scan
on the auditlog_log and auditlog_log_line tables when
auditlog_http_session and auditlog_http_request rows are deleted.
2023-11-14 15:19:45 +01:00
Ignacio Buioli aef7c54fc2 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (83 of 83 strings)

Translation: server-tools-15.0/server-tools-15.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-auditlog/es_AR/
2023-11-14 15:19:45 +01:00
OCA Transbot d3bf4054a9 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-15.0/server-tools-15.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-auditlog/
2023-11-14 15:19:45 +01:00
OCA-git-bot d991b804dd auditlog 15.0.1.1.0 2023-11-14 15:19:45 +01:00
oca-ci efd8bbc307 [UPD] Update auditlog.pot 2023-11-14 15:19:45 +01:00
Atchuthan Ubendran ef19dfaada Add option to Eliminate user and fields in audit logs 2023-11-14 15:19:45 +01:00
Ignacio Buioli f6174a1063 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (81 of 81 strings)

Translation: server-tools-15.0/server-tools-15.0-auditlog
Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-auditlog/es_AR/
2023-11-14 15:19:45 +01:00
OCA-git-bot b7d22e093c [UPD] README.rst 2023-11-14 15:19:45 +01:00
oca-ci 462f50ce78 [UPD] Update auditlog.pot 2023-11-14 15:19:45 +01:00
BT-vgabor b499a23a68 [MIG] auditlog: Migration to 15.0 2023-11-14 15:19:45 +01:00
BT-vgabor 1713ad5d6c [IMP] auditlog: black, isort, prettier 2023-11-14 15:19:45 +01:00
OCA Transbot da184bfec9 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/
2023-11-14 15:19:45 +01:00
OCA-git-bot 90a5523011 auditlog 14.0.1.2.0 2023-11-14 15:19:45 +01:00
OCA-git-bot 798a756315 [UPD] README.rst 2023-11-14 15:19:45 +01:00
oca-travis 9f4d185fc7 [UPD] Update auditlog.pot 2023-11-14 15:19:45 +01:00
Kitti U 6c1e18ef00 [14.0][IMP] auditlog, add auditlog.log.line view 2023-11-14 15:19:45 +01:00
OCA Transbot dc840be77b 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/
2023-11-14 15:19:45 +01:00
OCA-git-bot 911636064e [UPD] README.rst 2023-11-14 15:19:45 +01:00
oca-travis bf1dfebc7d [UPD] Update auditlog.pot 2023-11-14 15:19:45 +01:00
Bhavesh Odedra d6186882c4 [ADD] auditlog: test case for capture record 2023-11-14 15:19:45 +01:00
Bhavesh Odedra 43692669b7 [ADD] auditlog: enable to track Unlink record 2023-11-14 15:19:45 +01:00
OCA-git-bot 35b37734d2 auditlog 14.0.1.1.1 2023-11-14 15:19:45 +01:00
Stefan Rijnhart 46f808843c [FIX] auditlog: invalid XML
Fixes #2086
2023-11-14 15:19:45 +01:00
OCA Transbot c7a3fb79ec 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/
2023-11-14 15:19:45 +01:00
OCA-git-bot 5f59f04127 [UPD] README.rst 2023-11-14 15:19:45 +01:00
oca-travis b1c100427f [UPD] Update auditlog.pot 2023-11-14 15:19:45 +01:00
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
OCA-git-bot a49cc00bab auditlog 14.0.1.0.2 2023-11-14 15:19:45 +01:00