Commit Graph

77 Commits

Author SHA1 Message Date
Holden Rehg a54f4ed1ac 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
2017-12-18 14:54:46 +01:00
Holden Rehg 7e0540cfe0 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
2017-12-18 14:54:46 +01:00
Holger Brunn 58ca6a2096 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
2017-12-18 14:54:46 +01:00
Sébastien Alix f7994f76b3 auditlog - Icon added + README updated (screenshots) 2017-12-18 14:54:46 +01:00
sebalix 11981637a1 auditlog - Auto-vacuum logs, HTTP requests and HTTP user sessions 2017-12-18 14:54:46 +01:00
sebalix 36bc7f91de auditlog - Bump version number 2017-12-18 14:54:46 +01:00
sebalix 086bd843fb auditlog - Field 'type' renamed to 'log_type' 2017-12-18 14:54:46 +01:00
sebalix 48cd91d128 auditlog - Ability to choose the log type on the rule: Full log (complete but slow) and Fast log (data input only, faster) 2017-12-18 14:54:46 +01:00
Holger Brunn 01ae3f58f2 turn off prefetching when reding values 2017-12-18 14:54:46 +01:00
sebalix e855fe0258 Module 'auditlog' - Fix pylint check 2017-12-18 14:54:46 +01:00
sebalix b147404b22 Module 'auditlog' - 'display_name' fields added for the user session and HTTP requests models 2017-12-18 14:54:46 +01:00
sebalix f4cf1fb337 Module 'auditlog' - A log can be created with no current HTTP request (unit tests, ir.cron...) 2017-12-18 14:54:46 +01:00
sebalix 94c96b294c Module 'auditlog' - Cleanup XML views (types removed) 2017-12-18 14:54:46 +01:00
sebalix 12fc1e8ba2 Module 'auditlog' - Bump the version to 1.1.0 2017-12-18 14:54:46 +01:00
sebalix a896e2d40c Module 'auditlog' - Log HTTP user sessions and requests 2017-12-18 14:54:46 +01:00
Pedro M. Baeza 99e5150dbb [MIG] Rename manifest files 2017-12-18 14:54:46 +01:00
Stéphane Bidoul (ACSONE) ad86f8da27 [FIX] remove en.po that was erroneously created by transbot 2017-12-18 14:54:46 +01:00
Pedro M. Baeza faac3421b8 [MIG] Make modules uninstallable 2017-12-18 14:54:46 +01:00
Stéphane Bidoul 1c5b4aed43 [UPD] prefix versions with 8.0 2017-12-18 14:54:46 +01:00
OCA Transbot dc7a27bc64 OCA Transbot updated translations from Transifex 2017-12-18 14:54:46 +01:00
Holger Brunn 7d0e0b1025 [FIX] if someone else has overridden our patched,
method, don't do anything
2017-12-18 14:54:46 +01:00
Yannick Vaucher 9a0517d8c3 Add missing default oca icons 2017-12-18 14:54:46 +01:00
Holger Brunn ea852b29ad [FIX] make patched create downgrade correctly to v6.1 2017-12-18 14:54:46 +01:00
Holger Brunn 04acfa6665 [ADD] comment 2017-12-18 14:54:46 +01:00
Holger Brunn 2aee2c73f1 [FIX] ie related fields don't have an
ir.model.fields entry
2017-12-18 14:54:46 +01:00
Yannick Vaucher f525372309 Add bug tracker link on README.rst 2017-12-18 14:54:46 +01:00
Alejandro Santana 128a958227 [ADD] auditlog: Added Spanish translation. 2017-12-18 14:54:46 +01:00
sebalix ba27d60d35 [IMP] Module 'auditlog' - Remove the unit test causing trouble with Travis CI 2017-12-18 14:54:46 +01:00
sebalix 3f05490281 [FIX] Module 'auditlog' - Log fields coming from polymorphic inheritances ('_inherits') 2017-12-18 14:54:46 +01:00
sebalix dc71f74d9c [IMP] Module 'auditlog' - Unsubscribe rules before removing them + Unit tests updated 2017-12-18 14:54:46 +01:00
sebalix fe5d10b048 [FIX] Module 'auditlog' - Fix lint check 2017-12-18 14:54:46 +01:00
sebalix 1d4a12bc9f [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) 2017-12-18 14:54:46 +01:00
Martin Schmid 420417ec7d [ADD] German translation for auditlog 2017-12-18 14:54:46 +01:00
sebalix b716bafc7f [FIX] Module 'auditlog' - Unit tests, do not create users with the 'notify_email' field 2017-12-18 14:54:46 +01:00
sebalix 549d9b62cf [FIX] Module 'auditlog' - Support 'read' calls with one ID or a list of IDs 2017-12-18 14:54:46 +01:00
sebalix 7afdfd7c63 [FIX] Module 'auditlog' - Replace 'try/except statement by 'isinstance()' + Add missing field in unit test + Remove a list comprehension 2017-12-18 14:54:46 +01:00
sebalix b7663ceae6 [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 2017-12-18 14:54:46 +01:00
Alexandre Fayolle 00d92445fd 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.
2017-12-18 14:54:46 +01:00
Holger Brunn 5ac2a70ade [ADD] migration script 2017-12-18 14:54:46 +01:00
sebalix 75675c4ce0 [FIX] Module 'auditlog' - When updating a resource, filter IDs on 2many fields to prevent a 'name_get()' call on potential deleted resources 2017-12-18 14:54:46 +01:00
sebalix 6839190070 [IMP] Module 'auditlog' - Add a test regarding a resource deleted through a (2, ID) tuple on a write operation 2017-12-18 14:54:46 +01:00
sebalix 29dd7b9ff1 [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) 2017-12-18 14:54:46 +01:00
sebalix 115b516c41 [IMP] Module 'auditlog' - Added a second test using cached data generated during the first test 2017-12-18 14:54:46 +01:00
sebalix 9514fdd422 [IMP] Module 'auditlog' - Model 'auditlog.log.line', 'field_name' and 'field_description' fields changed into related fields 2017-12-18 14:54:46 +01:00
sebalix 9c1214ab8a [IMP] Module 'auditlog' - Autoremove 'auditlog.log.line' records when a field is deleted (e.g. migration) 2017-12-18 14:54:46 +01:00
sebalix 439549b10d [IMP] Module 'auditlog' - Useless lines of code removed 2017-12-18 14:54:46 +01:00
sebalix 33418e0e7f [IMP] Module 'auditlog' - README.rst updated (inform that the audittrail data - if any - are migrated during the installation) 2017-12-18 14:54:46 +01:00
sebalix fa5fdcbbeb [FIX] Module 'auditlog' - Remove 'active' field from __openerp__.py 2017-12-18 14:54:46 +01:00
Holger Brunn aa5c79a52f [IMP] use a model for test that is not influenced by the mail module 2017-12-18 14:54:46 +01:00
sebalix 45afce118b [FIX] Module 'auditlog' - local variable 'ir_model' is assigned to but never used 2017-12-18 14:54:46 +01:00