Commit Graph

545 Commits (b64e6be28e90a7f940bec1207c9e3f3de932fc5c)

Author SHA1 Message Date
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
sebalix 4c85a17f00 auditlog - Migrate 'AuditlogRule.create' and 'AuditlogRule.write' methods to the new API 2022-01-31 15:20:58 +01:00
sebalix f9069eaee8 auditlog - Lint 2022-01-31 15:20:58 +01:00
Holden Rehg fcc9eb38d0 auditlog: Remove pre_init_hook reference from openerp, no pre_init hook exists any more 2022-01-31 15:20:58 +01:00
Holden Rehg f5f9e4ffe9 auditlog: Remove migration from audittrail functionality, this is not required for version 9 2022-01-31 15:20:58 +01:00
Holden Rehg 13028f3364 auditlog module, Remove duplicate license key from openerp config 2022-01-31 15:20:58 +01:00
Holden Rehg 8d6280dccc Updated the __openerp__.xml to include the license and images fields
These were updated to follow OCA conventions.

- License set to AGPL-3
- Images set to empty array
2022-01-31 15:20:58 +01:00
Holden Rehg d74e87fabf Migrate auditlog module from 8.0 to 9.0
- Update documentation to point to the new auditlog menu locations. These were changed because the 8.0 version was referencing menus that do not exist in 9.0
- Change version from 8.0.X.Y.Z to 9.0.1.0.0
- Make the module installable again
- Remove an unused parameter from pre-migration.py for versioning
- Fix typos and remove commented out blocks of code that were irrelevant
2022-01-31 15:20:58 +01:00
Holger Brunn b168b566da singleton error if we saved the current session two times (#473)
* [IMP] index the columns we'll be searching for for every request

* [FIX] singleton error if we saved the current session two times
2022-01-31 15:20:58 +01:00
Sébastien Alix fe44df6af7 auditlog - Icon added + README updated (screenshots) 2022-01-31 15:20:58 +01:00
sebalix 9b05bd51bb auditlog - Auto-vacuum logs, HTTP requests and HTTP user sessions 2022-01-31 15:20:58 +01:00
sebalix 2a35600a7e auditlog - Bump version number 2022-01-31 15:20:58 +01:00
sebalix 3a55668d14 auditlog - Field 'type' renamed to 'log_type' 2022-01-31 15:20:58 +01:00
sebalix 380e0f7e62 auditlog - Ability to choose the log type on the rule: Full log (complete but slow) and Fast log (data input only, faster) 2022-01-31 15:20:58 +01:00
Holger Brunn c5ff04839b turn off prefetching when reding values 2022-01-31 15:20:58 +01:00
sebalix bc566b6644 Module 'auditlog' - Fix pylint check 2022-01-31 15:20:58 +01:00
sebalix 0f9223322b Module 'auditlog' - 'display_name' fields added for the user session and HTTP requests models 2022-01-31 15:20:58 +01:00
sebalix 5cb0e868fe Module 'auditlog' - A log can be created with no current HTTP request (unit tests, ir.cron...) 2022-01-31 15:20:58 +01:00
sebalix ef80f91478 Module 'auditlog' - Cleanup XML views (types removed) 2022-01-31 15:20:58 +01:00
sebalix 357cb901a5 Module 'auditlog' - Bump the version to 1.1.0 2022-01-31 15:20:58 +01:00
sebalix 3d9b60b837 Module 'auditlog' - Log HTTP user sessions and requests 2022-01-31 15:20:58 +01:00
Pedro M. Baeza 2d36a5f585 [MIG] Rename manifest files 2022-01-31 15:20:58 +01:00
Stéphane Bidoul (ACSONE) 49021bf899 [FIX] remove en.po that was erroneously created by transbot 2022-01-31 15:20:58 +01:00
Pedro M. Baeza 2d4bd12fa2 [MIG] Make modules uninstallable 2022-01-31 15:20:58 +01:00
Stéphane Bidoul 727ca79010 [UPD] prefix versions with 8.0 2022-01-31 15:20:58 +01:00
OCA Transbot 061d79571c OCA Transbot updated translations from Transifex 2022-01-31 15:20:58 +01:00
Holger Brunn d18a053750 [FIX] if someone else has overridden our patched,
method, don't do anything
2022-01-31 15:20:58 +01:00
Yannick Vaucher 66d8f24c3f Add missing default oca icons 2022-01-31 15:20:58 +01:00
Holger Brunn 352e1eaeef [FIX] make patched create downgrade correctly to v6.1 2022-01-31 15:20:58 +01:00
Holger Brunn f61f817172 [ADD] comment 2022-01-31 15:20:58 +01:00