Commit Graph

76 Commits (fcc9eb38d0abc046c65cbff85de70ff96773db20)

Author SHA1 Message Date
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
Holger Brunn e3cd23aeaf [FIX] ie related fields don't have an
ir.model.fields entry
2022-01-31 15:20:58 +01:00
Yannick Vaucher df996e5641 Add bug tracker link on README.rst 2022-01-31 15:20:58 +01:00
Alejandro Santana 00d462b270 [ADD] auditlog: Added Spanish translation. 2022-01-31 15:20:58 +01:00
sebalix 20bf59ddd6 [IMP] Module 'auditlog' - Remove the unit test causing trouble with Travis CI 2022-01-31 15:20:58 +01:00
sebalix fa62cc82f8 [FIX] Module 'auditlog' - Log fields coming from polymorphic inheritances ('_inherits') 2022-01-31 15:20:58 +01:00
sebalix 51238c854b [IMP] Module 'auditlog' - Unsubscribe rules before removing them + Unit tests updated 2022-01-31 15:20:58 +01:00
sebalix 838dee0376 [FIX] Module 'auditlog' - Fix lint check 2022-01-31 15:20:58 +01:00
sebalix 5f24dec219 [FIX] Module 'auditlog' - No log for internal processing (e.g. 'read' calls produced by auditlog, either to scan records data or to fetch informations from 'ir.model'/'ir.model.fields' data models if rules are defined on them) 2022-01-31 15:20:58 +01:00
Martin Schmid adce17d829 [ADD] German translation for auditlog 2022-01-31 15:20:58 +01:00
sebalix e4aec27320 [FIX] Module 'auditlog' - Unit tests, do not create users with the 'notify_email' field 2022-01-31 15:20:58 +01:00
sebalix d1e445fcf0 [FIX] Module 'auditlog' - Support 'read' calls with one ID or a list of IDs 2022-01-31 15:20:58 +01:00
sebalix 34a9ee77f4 [FIX] Module 'auditlog' - Replace 'try/except statement by 'isinstance()' + Add missing field in unit test + Remove a list comprehension 2022-01-31 15:20:58 +01:00
sebalix 88bd8f19d0 [IMP] Module 'auditlog' - Performing logs on 'read' operations + Some bugfixes to log inherited fields and dummy fields such as 'in_group_X' in 'res.users' model + Unit tests updated 2022-01-31 15:20:58 +01:00
Alexandre Fayolle 106cbfdd6e Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
2022-01-31 15:20:58 +01:00
Holger Brunn 03cd888ee9 [ADD] migration script 2022-01-31 15:20:58 +01:00
sebalix 0a5b910ea1 [FIX] Module 'auditlog' - When updating a resource, filter IDs on 2many fields to prevent a 'name_get()' call on potential deleted resources 2022-01-31 15:20:58 +01:00
sebalix f309826faa [IMP] Module 'auditlog' - Add a test regarding a resource deleted through a (2, ID) tuple on a write operation 2022-01-31 15:20:58 +01:00
sebalix 42d4f01c9f [FIX] Module 'auditlog' - Data dictionaries of fields and models are put in the cache instead of recordsets (a recordset contains a reference on the database cursor which is closed after each RPC query) 2022-01-31 15:20:58 +01:00
sebalix 76c90f01f9 [IMP] Module 'auditlog' - Added a second test using cached data generated during the first test 2022-01-31 15:20:58 +01:00
sebalix 12c510ed9c [IMP] Module 'auditlog' - Model 'auditlog.log.line', 'field_name' and 'field_description' fields changed into related fields 2022-01-31 15:20:58 +01:00
sebalix c17bc59981 [IMP] Module 'auditlog' - Autoremove 'auditlog.log.line' records when a field is deleted (e.g. migration) 2022-01-31 15:20:58 +01:00
sebalix ca0c68fee9 [IMP] Module 'auditlog' - Useless lines of code removed 2022-01-31 15:20:58 +01:00
sebalix 6f437a1e08 [IMP] Module 'auditlog' - README.rst updated (inform that the audittrail data - if any - are migrated during the installation) 2022-01-31 15:20:58 +01:00