Commit Graph

161 Commits (7092543f3f0dddfe8f72261e226294b9516889a1)

Author SHA1 Message Date
sebalix d4de3d63d5 Module 'auditlog' - Cleanup XML views (types removed) 2022-11-18 13:12:57 +01:00
sebalix 842521a559 Module 'auditlog' - Bump the version to 1.1.0 2022-11-18 13:12:57 +01:00
sebalix 4c11ec5b2e Module 'auditlog' - Log HTTP user sessions and requests 2022-11-18 13:12:57 +01:00
Pedro M. Baeza 89da149982 [MIG] Rename manifest files 2022-11-18 13:12:57 +01:00
Stéphane Bidoul (ACSONE) 5b819f2238 [FIX] remove en.po that was erroneously created by transbot 2022-11-18 13:12:57 +01:00
Pedro M. Baeza ce7a16cf87 [MIG] Make modules uninstallable 2022-11-18 13:12:57 +01:00
Stéphane Bidoul d1943d9dc3 [UPD] prefix versions with 8.0 2022-11-18 13:12:57 +01:00
OCA Transbot 86f6b727e3 OCA Transbot updated translations from Transifex 2022-11-18 13:12:57 +01:00
Holger Brunn 703ecc7e71 [FIX] if someone else has overridden our patched,
method, don't do anything
2022-11-18 13:12:57 +01:00
Yannick Vaucher 1f226a8b25 Add missing default oca icons 2022-11-18 13:12:57 +01:00
Holger Brunn 27494e4d6a [FIX] make patched create downgrade correctly to v6.1 2022-11-18 13:12:57 +01:00
Holger Brunn b61206ccbb [ADD] comment 2022-11-18 13:12:57 +01:00
Holger Brunn 0f0540ff92 [FIX] ie related fields don't have an
ir.model.fields entry
2022-11-18 13:12:57 +01:00
Yannick Vaucher 47cf1c1a16 Add bug tracker link on README.rst 2022-11-18 13:12:57 +01:00
Alejandro Santana 253705b585 [ADD] auditlog: Added Spanish translation. 2022-11-18 13:12:57 +01:00
sebalix 74c0440a28 [IMP] Module 'auditlog' - Remove the unit test causing trouble with Travis CI 2022-11-18 13:12:57 +01:00
sebalix b82aa2330c [FIX] Module 'auditlog' - Log fields coming from polymorphic inheritances ('_inherits') 2022-11-18 13:12:57 +01:00
sebalix cc25ff8387 [IMP] Module 'auditlog' - Unsubscribe rules before removing them + Unit tests updated 2022-11-18 13:12:57 +01:00
sebalix 85e305e2c9 [FIX] Module 'auditlog' - Fix lint check 2022-11-18 13:12:57 +01:00
sebalix 1fad8d100e [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-11-18 13:12:57 +01:00
Martin Schmid 1cb6b03456 [ADD] German translation for auditlog 2022-11-18 13:12:57 +01:00
sebalix c10f2476a6 [FIX] Module 'auditlog' - Unit tests, do not create users with the 'notify_email' field 2022-11-18 13:12:57 +01:00
sebalix 0fddc605f6 [FIX] Module 'auditlog' - Support 'read' calls with one ID or a list of IDs 2022-11-18 13:12:57 +01:00
sebalix b0c5e2e2cf [FIX] Module 'auditlog' - Replace 'try/except statement by 'isinstance()' + Add missing field in unit test + Remove a list comprehension 2022-11-18 13:12:57 +01:00
sebalix 1010b0ac1c [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-11-18 13:12:57 +01:00
Alexandre Fayolle de185d97ed 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-11-18 13:12:57 +01:00
Holger Brunn 48e9bd2b1f [ADD] migration script 2022-11-18 13:12:57 +01:00
sebalix 0ac895c988 [FIX] Module 'auditlog' - When updating a resource, filter IDs on 2many fields to prevent a 'name_get()' call on potential deleted resources 2022-11-18 13:12:57 +01:00
sebalix 21ccb8ce85 [IMP] Module 'auditlog' - Add a test regarding a resource deleted through a (2, ID) tuple on a write operation 2022-11-18 13:12:57 +01:00
sebalix 6b92a949e8 [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-11-18 13:12:57 +01:00
sebalix 3df651cde7 [IMP] Module 'auditlog' - Added a second test using cached data generated during the first test 2022-11-18 13:12:57 +01:00
sebalix c77e26f78d [IMP] Module 'auditlog' - Model 'auditlog.log.line', 'field_name' and 'field_description' fields changed into related fields 2022-11-18 13:12:57 +01:00
sebalix 7263ad39c4 [IMP] Module 'auditlog' - Autoremove 'auditlog.log.line' records when a field is deleted (e.g. migration) 2022-11-18 13:12:57 +01:00
sebalix a6d98814f5 [IMP] Module 'auditlog' - Useless lines of code removed 2022-11-18 13:12:57 +01:00
sebalix 083c6cdf91 [IMP] Module 'auditlog' - README.rst updated (inform that the audittrail data - if any - are migrated during the installation) 2022-11-18 13:12:57 +01:00
sebalix f0a902a94e [FIX] Module 'auditlog' - Remove 'active' field from __openerp__.py 2022-11-18 13:12:57 +01:00
Holger Brunn 1d11e40e33 [IMP] use a model for test that is not influenced by the mail module 2022-11-18 13:12:57 +01:00
sebalix 436c151f9a [FIX] Module 'auditlog' - local variable 'ir_model' is assigned to but never used 2022-11-18 13:12:57 +01:00
Holger Brunn 8b462746e1 [ADD] tests 2022-11-18 13:12:57 +01:00
Holger Brunn f1073f7ed1 [FIX] cope with no additional log values 2022-11-18 13:12:57 +01:00
Holger Brunn 9e8cd4aa36 [ADD] pass old_values to create_log when deleting a record 2022-11-18 13:12:57 +01:00
Holger Brunn 072533bb95 [FIX] don't reset caches in register_hook 2022-11-18 13:12:57 +01:00
Holger Brunn 3562d9f94e [IMP] don't make a temporary copy of dict keys 2022-11-18 13:12:57 +01:00
Holger Brunn 34111cf235 [IMP] cache model and field ids 2022-11-18 13:12:57 +01:00
Holger Brunn d57115fd40 [ADD] allow overriding modules to pass additional log values 2022-11-18 13:12:57 +01:00
Holger Brunn 57834ae3a7 [IMP] use new import of _, SUPERUSER_ID 2022-11-18 13:12:57 +01:00
Holger Brunn 7474a0e466 [ADD] change xmlids of legacy rules to point to auditlog.rule 2022-11-18 13:12:57 +01:00
sebalix a3e90805ca [IMP] Module 'auditlog' - Contributors updated in README.rst + AUTHORS.txt file removed 2022-11-18 13:12:57 +01:00
Holger Brunn da1d658cc3 [FIX] also migrate id sequences 2022-11-18 13:12:57 +01:00
Holger Brunn 760a947782 [ADD] init hook to migrate from audittrail 2022-11-18 13:12:57 +01:00
Holger Brunn cc83f8b54d [IMP] ignore rules for nonexisting objects 2022-11-18 13:12:57 +01:00
sebalix af0f5d1a61 [FIX] Module 'auditlog' - 'time' module imported but unused 2022-11-18 13:12:57 +01:00
sebalix 6c2f020fbc [IMP] Module 'auditlog' - README.rst updated (based on the OCA template) 2022-11-18 13:12:57 +01:00
sebalix ae87645d6b [IMP] Module 'auditlog' - Removed the 'timestamp' field from the 'auditlog.log' model (standard 'create_date' field is used instead) 2022-11-18 13:12:57 +01:00
sebalix 7e5d2f0922 [IMP] Module 'auditlog' - Add 'name' attributes on some filters and other minor fixes 2022-11-18 13:12:57 +01:00
sebalix 54d052fc1d [IMP] Module 'auditlog' - Clean up vim lines 2022-11-18 13:12:57 +01:00
sebalix 886ddfe3a0 [IMP] Module 'auditlog' - Split the 'create_logs()' method in several ones to make overridding easier 2022-11-18 13:12:57 +01:00
sebalix 2d87b3a7fa [ADD] Module 'auditlog' - 'auditlog.pot' file added 2022-11-18 13:12:57 +01:00
sebalix 35c136b2f6 [FIX] Module 'auditlog' - Put the module description in a README.rst file 2022-11-18 13:12:57 +01:00
sebalix 0ac666a32d [FIX] Module 'auditlog' - Fix some flake8 errors 2022-11-18 13:12:57 +01:00
sebalix 65517c4bcf [ADD] Module 'auditlog' - A substitute to the deprecated 'audittrail' module 2022-11-18 13:12:57 +01:00