Commit Graph

335 Commits (8592e0e28598ee4f8cb1039e8f64ec4738e005d4)

Author SHA1 Message Date
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
sebalix 55e8393a9f Module 'auditlog' - Log HTTP user sessions and requests 2020-03-24 08:28:15 +01:00
Pedro M. Baeza 54a4858fd9 [MIG] Rename manifest files 2020-03-24 08:28:15 +01:00
Stéphane Bidoul (ACSONE) 54e2ee5e86 [FIX] remove en.po that was erroneously created by transbot 2020-03-24 08:28:15 +01:00
Pedro M. Baeza 2cf0aa5dac [MIG] Make modules uninstallable 2020-03-24 08:28:15 +01:00
Stéphane Bidoul f036748779 [UPD] prefix versions with 8.0 2020-03-24 08:28:15 +01:00
OCA Transbot 50196b6ece OCA Transbot updated translations from Transifex 2020-03-24 08:28:15 +01:00
Holger Brunn a9590256d2 [FIX] if someone else has overridden our patched,
method, don't do anything
2020-03-24 08:28:15 +01:00
Yannick Vaucher d3b44389ca Add missing default oca icons 2020-03-24 08:28:15 +01:00
Holger Brunn 87a2f7cb0c [FIX] make patched create downgrade correctly to v6.1 2020-03-24 08:28:15 +01:00
Holger Brunn 67157860ec [ADD] comment 2020-03-24 08:28:15 +01:00
Holger Brunn d6a825f4be [FIX] ie related fields don't have an
ir.model.fields entry
2020-03-24 08:28:15 +01:00
Yannick Vaucher 2f84483ee1 Add bug tracker link on README.rst 2020-03-24 08:28:15 +01:00
Alejandro Santana 9dc417c72f [ADD] auditlog: Added Spanish translation. 2020-03-24 08:28:15 +01:00
sebalix 36e5dc17d3 [IMP] Module 'auditlog' - Remove the unit test causing trouble with Travis CI 2020-03-24 08:28:15 +01:00
sebalix 72c42f7583 [FIX] Module 'auditlog' - Log fields coming from polymorphic inheritances ('_inherits') 2020-03-24 08:28:15 +01:00
sebalix edbeaa45f2 [IMP] Module 'auditlog' - Unsubscribe rules before removing them + Unit tests updated 2020-03-24 08:28:15 +01:00
sebalix 35f3cc8219 [FIX] Module 'auditlog' - Fix lint check 2020-03-24 08:28:15 +01:00
sebalix 01fe1488df [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) 2020-03-24 08:28:15 +01:00
Martin Schmid 0dd072a259 [ADD] German translation for auditlog 2020-03-24 08:28:15 +01:00
sebalix 39ce0d01cb [FIX] Module 'auditlog' - Unit tests, do not create users with the 'notify_email' field 2020-03-24 08:28:15 +01:00
sebalix d245f23c98 [FIX] Module 'auditlog' - Support 'read' calls with one ID or a list of IDs 2020-03-24 08:28:15 +01:00
sebalix 8624d29360 [FIX] Module 'auditlog' - Replace 'try/except statement by 'isinstance()' + Add missing field in unit test + Remove a list comprehension 2020-03-24 08:28:15 +01:00
sebalix 755aadcb8a [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 2020-03-24 08:28:15 +01:00
Alexandre Fayolle 9c7271d81e 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.
2020-03-24 08:28:15 +01:00
Holger Brunn 90882ef330 [ADD] migration script 2020-03-24 08:28:15 +01:00
sebalix 45daa1dd01 [FIX] Module 'auditlog' - When updating a resource, filter IDs on 2many fields to prevent a 'name_get()' call on potential deleted resources 2020-03-24 08:28:15 +01:00
sebalix f574e6cd33 [IMP] Module 'auditlog' - Add a test regarding a resource deleted through a (2, ID) tuple on a write operation 2020-03-24 08:28:15 +01:00
sebalix cc076280f5 [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) 2020-03-24 08:28:15 +01:00
sebalix 840ef1a1d7 [IMP] Module 'auditlog' - Added a second test using cached data generated during the first test 2020-03-24 08:28:15 +01:00
sebalix cdac4b7f4a [IMP] Module 'auditlog' - Model 'auditlog.log.line', 'field_name' and 'field_description' fields changed into related fields 2020-03-24 08:28:15 +01:00