Commit Graph

215 Commits (ccab50ed2097cbb8037f741fb02190c6d803858a)

Author SHA1 Message Date
Akim Juillerat ccab50ed20 fixup! fixup! Adapt module to v13.0 and new usage 2020-04-01 13:08:56 +02:00
Akim Juillerat 09206fb73e Adapt test module 2020-04-01 11:16:57 +02:00
Laurent Mignong (ACSONE) 9fcaf2db9e Import files from Acsone 2020-04-01 10:41:20 +02:00
Akim Juillerat feb22fa0af Create module test_base_time_window 2020-04-01 10:41:11 +02:00
Akim Juillerat 3200d01c68 fixup! Adapt module to v13.0 and new usage 2020-04-01 10:37:22 +02:00
Akim Juillerat a092285f77 Adapt module to v13.0 and new usage 2020-03-31 17:54:17 +02:00
Laurent Mignong (ACSONE) 2db6aaec15 Import files from Acsone 2020-03-30 15:53:04 +02:00
Akim Juillerat 681dfd1578 Create module base_time_window 2020-03-30 15:42:10 +02:00
OCA Transbot dfddcba2bb 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/
2020-03-29 06:07:14 +00:00
OCA-git-bot a083843210 [UPD] README.rst 2020-03-29 06:07:02 +00:00
OCA-git-bot dc72e79ef1 [ADD] setup.py 2020-03-25 10:44:55 +00:00
OCA-git-bot bb2bdb9280 [UPD] README.rst 2020-03-25 10:44:55 +00:00
oca-travis 7863d3ace0 [UPD] Update auditlog.pot 2020-03-25 10:32:20 +00:00
OCA-git-bot 9247510126 Merge PR #1793 into 13.0
Signed-off-by pedrobaeza
2020-03-25 10:21:35 +00:00
sebalix 090bd7d20c [FIX] auditlog: add support for create multi 2020-03-24 09:01:25 +01:00
sebalix 0f990fcbab [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).
2020-03-24 08:59:17 +01:00
Raf Ven a72c87be77 [IMP] auditlog: black, isort, prettier 2020-03-24 08:39:11 +01:00
Eric Lembregts b4d04b00bd [MIG] auditlog: Migration to 13.0 2020-03-24 08:28:16 +01:00
黎伟杰 ee72fe9853 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/
2020-03-24 08:28:16 +01:00
OCA-git-bot 1f455b85a5 [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
2020-03-24 08:28:16 +01:00
sebalix 84a6ccf53d [MIG] auditlog: Migration to 12.0 2020-03-24 08:28:16 +01:00
Rodrigo Macedo 4cbbab5985 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/
2020-03-24 08:28:16 +01:00
oca-travis 1a3bd91433 [UPD] Update auditlog.pot 2020-03-24 08:28:16 +01:00
Stéphane Bidoul (ACSONE) 9824333e1b remove obsolete .pot files [ci skip] 2020-03-24 08:28:16 +01:00
OCA Transbot e45c8ab7f7 OCA Transbot updated translations from Transifex 2020-03-24 08:28:15 +01:00
rgarnau b5fe05355d [add] https 2020-03-24 08:28:15 +01:00
Enric Tobella 8c48775d90 [MIG] auditlog: Migration to 11.0 2020-03-24 08:28:15 +01:00
OCA Transbot 8badaa849b OCA Transbot updated translations from Transifex 2020-03-24 08:28:15 +01:00
Oleg Bulkin e425d98fe7 [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)
2020-03-24 08:28:15 +01:00
Stefan Rijnhart a30239bcbd [FIX] Request id no longer exists after concurrency rollback 2020-03-24 08:28:15 +01:00
Frédéric Garbely e1233985db [MIG] auditlog: Migrated to 10.0 2020-03-24 08:28:15 +01:00
sebalix 47a9c8b6e2 auditlog - Migrate 'AuditlogRule.create' and 'AuditlogRule.write' methods to the new API 2020-03-24 08:28:15 +01:00
sebalix 88f55eacff auditlog - Lint 2020-03-24 08:28:15 +01:00
Holden Rehg eacd6d1a10 auditlog: Remove pre_init_hook reference from openerp, no pre_init hook exists any more 2020-03-24 08:28:15 +01:00
Holden Rehg b8105f7b01 auditlog: Remove migration from audittrail functionality, this is not required for version 9 2020-03-24 08:28:15 +01:00
Holden Rehg 9ea0bcb85c auditlog module, Remove duplicate license key from openerp config 2020-03-24 08:28:15 +01:00
Holden Rehg 6cf2caae6f 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
2020-03-24 08:28:15 +01:00
Holden Rehg 3ced62ffd9 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
2020-03-24 08:28:15 +01:00
Holger Brunn 4a3a941acd 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
2020-03-24 08:28:15 +01:00
Sébastien Alix 8b98a2c2aa auditlog - Icon added + README updated (screenshots) 2020-03-24 08:28:15 +01:00
sebalix 57d65b9e15 auditlog - Auto-vacuum logs, HTTP requests and HTTP user sessions 2020-03-24 08:28:15 +01:00
sebalix 5d33ea5de5 auditlog - Bump version number 2020-03-24 08:28:15 +01:00
sebalix 6feebcbdf0 auditlog - Field 'type' renamed to 'log_type' 2020-03-24 08:28:15 +01:00
sebalix bb6af84ebf auditlog - Ability to choose the log type on the rule: Full log (complete but slow) and Fast log (data input only, faster) 2020-03-24 08:28:15 +01:00
Holger Brunn bb2ce91a91 turn off prefetching when reding values 2020-03-24 08:28:15 +01:00
sebalix cb43b87b01 Module 'auditlog' - Fix pylint check 2020-03-24 08:28:15 +01:00
sebalix 73aa32b810 Module 'auditlog' - 'display_name' fields added for the user session and HTTP requests models 2020-03-24 08:28:15 +01:00
sebalix 4789e5f97f Module 'auditlog' - A log can be created with no current HTTP request (unit tests, ir.cron...) 2020-03-24 08:28:15 +01:00
sebalix 92e4e97466 Module 'auditlog' - Cleanup XML views (types removed) 2020-03-24 08:28:15 +01:00
sebalix 79adbaa9f2 Module 'auditlog' - Bump the version to 1.1.0 2020-03-24 08:28:15 +01:00