Oleg Bulkin
ce5bdeb0c0
[FIX] auditlog: Duplicate logging
* Update _patch_methods and _revert_methods in auditlog.rule model to properly
track whether a method has already been patched for logging purposes. This
prevents duplicate logs from being produced in various cases (e.g. when a
logging rule is created as part of a module install)
8 years ago
Frédéric Garbely
7b8bd4d26f
[MIG] auditlog: Migrated to 10.0
8 years ago
sebalix
2be8bdd0b3
auditlog - Migrate 'AuditlogRule.create' and 'AuditlogRule.write' methods to the new API
8 years ago
Holden Rehg
542dab0106
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
9 years ago
Sébastien Alix
f3edd5cbd3
auditlog - Icon added + README updated (screenshots)
9 years ago
sebalix
a95baa23c3
auditlog - Field 'type' renamed to 'log_type'
9 years ago
sebalix
b57bbde2df
auditlog - Ability to choose the log type on the rule: Full log (complete but slow) and Fast log (data input only, faster)
9 years ago
Holger Brunn
44089f9590
turn off prefetching when reding values
9 years ago
sebalix
0e876f9a14
Module 'auditlog' - Fix pylint check
9 years ago
sebalix
2abe8ae54c
Module 'auditlog' - Log HTTP user sessions and requests
9 years ago
Holger Brunn
919f9f6856
[FIX] if someone else has overridden our patched,
method, don't do anything
9 years ago
Holger Brunn
525f619954
[FIX] make patched create downgrade correctly to v6.1
10 years ago
Holger Brunn
f4e51c6751
[ADD] comment
10 years ago
Holger Brunn
0bac0a898e
[FIX] ie related fields don't have an
ir.model.fields entry
10 years ago
sebalix
9d6f7bdd67
[FIX] Module 'auditlog' - Log fields coming from polymorphic inheritances ('_inherits')
10 years ago
sebalix
8657f2ee74
[IMP] Module 'auditlog' - Unsubscribe rules before removing them + Unit tests updated
10 years ago
sebalix
4a4430f96b
[FIX] Module 'auditlog' - Fix lint check
10 years ago
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)
10 years ago
sebalix
b0123d8441
[FIX] Module 'auditlog' - Support 'read' calls with one ID or a list of IDs
10 years ago
sebalix
48fa5cb3b9
[FIX] Module 'auditlog' - Replace 'try/except statement by 'isinstance()' + Add missing field in unit test + Remove a list comprehension
10 years ago
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
10 years ago
sebalix
39c83e67f5
[FIX] Module 'auditlog' - When updating a resource, filter IDs on 2many fields to prevent a 'name_get()' call on potential deleted resources
10 years ago
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)
10 years ago
sebalix
74588493cd
[IMP] Module 'auditlog' - Model 'auditlog.log.line', 'field_name' and 'field_description' fields changed into related fields
10 years ago
sebalix
9f657e0ca4
[IMP] Module 'auditlog' - Useless lines of code removed
10 years ago
Holger Brunn
b5eaec686c
[FIX] flake8
10 years ago
sebalix
05d42489e5
[FIX] Module 'auditlog' - local variable 'ir_model' is assigned to but never used
10 years ago
Holger Brunn
f754bf04b5
[FIX] cope with no additional log values
10 years ago
Holger Brunn
153bb5c3e6
[ADD] pass old_values to create_log when deleting a record
10 years ago
Holger Brunn
719714340b
[FIX] don't reset caches in register_hook
10 years ago
Holger Brunn
d11d9df02d
[IMP] don't make a temporary copy of dict keys
10 years ago
Holger Brunn
df6ced6fe0
[IMP] cache model and field ids
10 years ago
Holger Brunn
df07d3130a
[ADD] allow overriding modules to pass additional log values
10 years ago
Holger Brunn
0cdb74c82e
[IMP] use new import of _, SUPERUSER_ID
10 years ago
Holger Brunn
fe36ce9988
[IMP] ignore rules for nonexisting objects
10 years ago
sebalix
81909860e7
[IMP] Module 'auditlog' - Clean up vim lines
10 years ago
sebalix
d9670d7ad9
[IMP] Module 'auditlog' - Split the 'create_logs()' method in several ones to make overridding easier
10 years ago
sebalix
94039a8d62
[FIX] Module 'auditlog' - Fix some flake8 errors
10 years ago
sebalix
ddee4461c8
[ADD] Module 'auditlog' - A substitute to the deprecated 'audittrail' module
10 years ago