Commit Graph

24 Commits (9d6f7bdd67097bbf4bfa4d22fbf8b8825acfe3c7)

Author SHA1 Message Date
sebalix 9d6f7bdd67 [FIX] Module 'auditlog' - Log fields coming from polymorphic inheritances ('_inherits') 2015-04-19 17:28:34 +02:00
sebalix 8657f2ee74 [IMP] Module 'auditlog' - Unsubscribe rules before removing them + Unit tests updated 2015-04-19 17:28:27 +02:00
sebalix 4a4430f96b [FIX] Module 'auditlog' - Fix lint check 2015-04-19 12:07:41 +02:00
sebalix 3074382f98 [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) 2015-04-19 11:26:03 +02:00
sebalix b0123d8441 [FIX] Module 'auditlog' - Support 'read' calls with one ID or a list of IDs 2015-04-02 12:31:38 +02:00
sebalix 48fa5cb3b9 [FIX] Module 'auditlog' - Replace 'try/except statement by 'isinstance()' + Add missing field in unit test + Remove a list comprehension 2015-04-02 11:01:34 +02:00
sebalix 7c72a70d20 [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 2015-04-01 16:19:57 +02:00
sebalix 39c83e67f5 [FIX] Module 'auditlog' - When updating a resource, filter IDs on 2many fields to prevent a 'name_get()' call on potential deleted resources 2015-02-09 14:43:28 +01:00
sebalix 5960891458 [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) 2015-02-04 17:01:35 +01:00
sebalix 74588493cd [IMP] Module 'auditlog' - Model 'auditlog.log.line', 'field_name' and 'field_description' fields changed into related fields 2015-02-04 15:08:38 +01:00
sebalix 9f657e0ca4 [IMP] Module 'auditlog' - Useless lines of code removed 2015-02-02 15:58:52 +01:00
sebalix 05d42489e5 [FIX] Module 'auditlog' - local variable 'ir_model' is assigned to but never used 2015-01-30 11:18:25 +01:00
Holger Brunn f754bf04b5 [FIX] cope with no additional log values 2015-01-29 15:40:15 +01:00
Holger Brunn 153bb5c3e6 [ADD] pass old_values to create_log when deleting a record 2015-01-29 15:39:14 +01:00
Holger Brunn 719714340b [FIX] don't reset caches in register_hook 2015-01-29 15:38:29 +01:00
Holger Brunn d11d9df02d [IMP] don't make a temporary copy of dict keys 2015-01-29 13:38:26 +01:00
Holger Brunn df6ced6fe0 [IMP] cache model and field ids 2015-01-29 13:27:07 +01:00
Holger Brunn df07d3130a [ADD] allow overriding modules to pass additional log values 2015-01-29 13:04:49 +01:00
Holger Brunn 0cdb74c82e [IMP] use new import of _, SUPERUSER_ID 2015-01-29 12:25:05 +01:00
Holger Brunn fe36ce9988 [IMP] ignore rules for nonexisting objects 2015-01-28 15:10:21 +01:00
sebalix 81909860e7 [IMP] Module 'auditlog' - Clean up vim lines 2015-01-22 16:07:03 +01:00
sebalix d9670d7ad9 [IMP] Module 'auditlog' - Split the 'create_logs()' method in several ones to make overridding easier 2015-01-22 15:27:29 +01:00
sebalix 94039a8d62 [FIX] Module 'auditlog' - Fix some flake8 errors 2015-01-22 12:08:36 +01:00
sebalix ddee4461c8 [ADD] Module 'auditlog' - A substitute to the deprecated 'audittrail' module 2015-01-22 11:29:33 +01:00