Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
191 commits
Select commit Hold shift + click to select a range
465475e
[ADD] Module 'auditlog' - A substitute to the deprecated 'audittrail'…
sebalix Jan 21, 2015
384bcef
[FIX] Module 'auditlog' - Fix some flake8 errors
sebalix Jan 22, 2015
b33ef52
[FIX] Module 'auditlog' - Put the module description in a README.rst …
sebalix Jan 22, 2015
54428b2
[ADD] Module 'auditlog' - 'auditlog.pot' file added
sebalix Jan 22, 2015
1d1c71b
[IMP] Module 'auditlog' - Split the 'create_logs()' method in several…
sebalix Jan 22, 2015
0a45948
[IMP] Module 'auditlog' - Clean up vim lines
sebalix Jan 22, 2015
8aaa060
[IMP] Module 'auditlog' - Add 'name' attributes on some filters and o…
sebalix Jan 22, 2015
bf5b5bb
[IMP] Module 'auditlog' - Removed the 'timestamp' field from the 'aud…
sebalix Jan 28, 2015
90aa42a
[IMP] Module 'auditlog' - README.rst updated (based on the OCA template)
sebalix Jan 28, 2015
b003b45
[FIX] Module 'auditlog' - 'time' module imported but unused
sebalix Jan 28, 2015
394e205
[IMP] ignore rules for nonexisting objects
hbrunn Jan 28, 2015
9c2919a
[ADD] init hook to migrate from audittrail
hbrunn Jan 28, 2015
a0d7498
[FIX] also migrate id sequences
hbrunn Jan 28, 2015
b8105de
[IMP] Module 'auditlog' - Contributors updated in README.rst + AUTHOR…
sebalix Jan 28, 2015
9cae51e
[ADD] change xmlids of legacy rules to point to auditlog.rule
hbrunn Jan 28, 2015
ad4c39a
[IMP] use new import of _, SUPERUSER_ID
hbrunn Jan 29, 2015
a356831
[ADD] allow overriding modules to pass additional log values
hbrunn Jan 29, 2015
8a7438f
[IMP] cache model and field ids
hbrunn Jan 29, 2015
d6966e2
[IMP] don't make a temporary copy of dict keys
hbrunn Jan 29, 2015
d8abb64
[FIX] don't reset caches in register_hook
hbrunn Jan 29, 2015
f10c525
[ADD] pass old_values to create_log when deleting a record
hbrunn Jan 29, 2015
8a82e03
[FIX] cope with no additional log values
hbrunn Jan 29, 2015
6c22c54
[ADD] tests
hbrunn Jan 29, 2015
b52c52e
[FIX] Module 'auditlog' - local variable 'ir_model' is assigned to bu…
sebalix Jan 30, 2015
ba8c96e
[IMP] use a model for test that is not influenced by the mail module
hbrunn Feb 1, 2015
b288694
[FIX] Module 'auditlog' - Remove 'active' field from __openerp__.py
sebalix Feb 2, 2015
a953824
[IMP] Module 'auditlog' - README.rst updated (inform that the audittr…
sebalix Feb 2, 2015
432bc66
[IMP] Module 'auditlog' - Useless lines of code removed
sebalix Feb 2, 2015
0f7734e
[IMP] Module 'auditlog' - Autoremove 'auditlog.log.line' records when…
sebalix Feb 4, 2015
98c3c54
[IMP] Module 'auditlog' - Model 'auditlog.log.line', 'field_name' and…
sebalix Feb 4, 2015
1fed602
[IMP] Module 'auditlog' - Added a second test using cached data gener…
sebalix Feb 4, 2015
a01c1a1
[FIX] Module 'auditlog' - Data dictionaries of fields and models are …
sebalix Feb 4, 2015
a761365
[IMP] Module 'auditlog' - Add a test regarding a resource deleted thr…
sebalix Feb 9, 2015
9f72717
[FIX] Module 'auditlog' - When updating a resource, filter IDs on 2ma…
sebalix Feb 9, 2015
7f10446
[ADD] migration script
hbrunn Feb 16, 2015
d63a7e1
Add OCA as author of OCA addons
gurneyalex Mar 2, 2015
83c3d6b
[IMP] Module 'auditlog' - Performing logs on 'read' operations + Some…
sebalix Apr 1, 2015
27cf275
[FIX] Module 'auditlog' - Replace 'try/except statement by 'isinstanc…
sebalix Apr 2, 2015
5abfdd1
[FIX] Module 'auditlog' - Support 'read' calls with one ID or a list …
sebalix Apr 2, 2015
ae58cef
[FIX] Module 'auditlog' - Unit tests, do not create users with the 'n…
sebalix Apr 8, 2015
2352e1e
[ADD] German translation for auditlog
eqms Apr 19, 2015
1707370
[FIX] Module 'auditlog' - No log for internal processing (e.g. 'read'…
sebalix Apr 19, 2015
02c9c53
[FIX] Module 'auditlog' - Fix lint check
sebalix Apr 19, 2015
4dfa875
[IMP] Module 'auditlog' - Unsubscribe rules before removing them + Un…
sebalix Apr 19, 2015
273e53b
[FIX] Module 'auditlog' - Log fields coming from polymorphic inherita…
sebalix Apr 19, 2015
8b12053
[IMP] Module 'auditlog' - Remove the unit test causing trouble with T…
sebalix Apr 21, 2015
751012c
[ADD] auditlog: Added Spanish translation.
May 17, 2015
ee3268d
Add bug tracker link on README.rst
yvaucher May 22, 2015
da2c6cc
[FIX] ie related fields don't have an
hbrunn Jun 11, 2015
0ff1635
[ADD] comment
hbrunn Jul 8, 2015
21ef871
[FIX] make patched create downgrade correctly to v6.1
hbrunn Jul 17, 2015
d50a3c4
Add missing default oca icons
yvaucher Aug 18, 2015
66dea87
[FIX] if someone else has overridden our patched,
hbrunn Sep 16, 2015
fdbedc3
OCA Transbot updated translations from Transifex
oca-transbot Oct 5, 2015
37af477
[UPD] prefix versions with 8.0
sbidoul Oct 9, 2015
85ea7a3
[MIG] Make modules uninstallable
pedrobaeza Oct 14, 2015
c0ccaeb
[FIX] remove en.po that was erroneously created by transbot
sbidoul Aug 15, 2016
a791dac
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
9d7b8b4
Module 'auditlog' - Log HTTP user sessions and requests
sebalix Oct 30, 2015
2a4f9a9
Module 'auditlog' - Bump the version to 1.1.0
sebalix Oct 30, 2015
34516b0
Module 'auditlog' - Cleanup XML views (types removed)
sebalix Oct 30, 2015
ca5ce17
Module 'auditlog' - A log can be created with no current HTTP request…
sebalix Oct 30, 2015
7637c38
Module 'auditlog' - 'display_name' fields added for the user session …
sebalix Oct 31, 2015
751c4f1
Module 'auditlog' - Fix pylint check
sebalix Oct 31, 2015
0e3304a
turn off prefetching when reding values
hbrunn Nov 26, 2015
1c6e5e9
auditlog - Ability to choose the log type on the rule: Full log (comp…
sebalix Feb 1, 2016
c1910f5
auditlog - Field 'type' renamed to 'log_type'
sebalix Feb 13, 2016
1959300
auditlog - Bump version number
sebalix Feb 13, 2016
bb9bc2a
auditlog - Auto-vacuum logs, HTTP requests and HTTP user sessions
sebalix Feb 13, 2016
f8d6e31
auditlog - Icon added + README updated (screenshots)
sebalix May 26, 2016
855bdc2
singleton error if we saved the current session two times (#473)
hbrunn Jul 4, 2016
aa53e14
Migrate auditlog module from 8.0 to 9.0
holdenrehg Jun 6, 2016
dd22571
Updated the __openerp__.xml to include the license and images fields
holdenrehg Jun 13, 2016
23f8ba9
auditlog module, Remove duplicate license key from openerp config
holdenrehg Jun 24, 2016
41e9bcc
auditlog: Remove migration from audittrail functionality, this is not…
holdenrehg Jun 27, 2016
ea1ab42
auditlog: Remove pre_init_hook reference from openerp, no pre_init ho…
holdenrehg Jun 27, 2016
2a551f8
auditlog - Lint
sebalix Nov 14, 2016
46d2847
auditlog - Migrate 'AuditlogRule.create' and 'AuditlogRule.write' met…
sebalix Nov 14, 2016
404415f
[MIG] auditlog: Migrated to 10.0
Jan 20, 2017
6a63fe7
[FIX] Request id no longer exists after concurrency rollback
StefanRijnhart Jan 16, 2017
35966ec
[FIX] auditlog: Duplicate logging
obulkin Feb 16, 2017
c4f015f
OCA Transbot updated translations from Transifex
oca-transbot Oct 26, 2015
fb26a72
[MIG] auditlog: Migration to 11.0
etobella Nov 3, 2017
4609a0d
[add] https
rgarnau Nov 14, 2017
f61e821
OCA Transbot updated translations from Transifex
oca-transbot Dec 9, 2017
734915f
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
4f3f590
[UPD] Update auditlog.pot
oca-travis Jun 17, 2018
dd6a961
Translated using Weblate
Jun 20, 2018
44fc303
[MIG] auditlog: Migration to 12.0
sebalix Apr 9, 2019
c4e26c8
[UPD] README.rst
OCA-git-bot Apr 10, 2019
8b454f8
Translated using Weblate (Chinese (Simplified))
liweijie0812 Aug 30, 2019
15c4a03
[MIG] auditlog: Migration to 13.0
lembregtse Oct 1, 2019
c5416c8
[IMP] auditlog: black, isort, prettier
rven Nov 8, 2019
e5ed1ea
[FIX] auditlog: log computed fields stored in db as expected
sebalix Oct 1, 2019
2b6c3c5
[FIX] auditlog: add support for create multi
sebalix Oct 1, 2019
88abb10
[UPD] Update auditlog.pot
oca-travis Mar 25, 2020
01794a6
[UPD] README.rst
OCA-git-bot Mar 25, 2020
7f86796
Update translation files
oca-transbot Mar 29, 2020
3482dda
[FIX] Readme Images relative path
emagdalenaC2i Jul 10, 2020
5715ead
[UPD] README.rst
OCA-git-bot Jul 13, 2020
bda34e8
auditlog 13.0.1.0.1
OCA-git-bot Jul 13, 2020
7d3f407
[IMP] auditlog: black, isort, prettier
alan196 Oct 29, 2020
9a65dec
[MIG] auditlog: Migration to 14.0
alan196 Oct 29, 2020
fd64be4
[UPD] Update auditlog.pot
oca-travis Dec 4, 2020
45c9782
[IMP] Dont query non-stored related or computed fields on full auditl…
Dec 14, 2020
bd09bba
[UPD] README.rst
OCA-git-bot Jan 25, 2021
45b988f
auditlog 14.0.1.0.1
OCA-git-bot Jan 25, 2021
8a2ddbb
[14.0][FIX] Add sudo() to retrieve record vals
Feb 1, 2021
9ea93c5
auditlog 14.0.1.0.2
OCA-git-bot Feb 11, 2021
6a943a5
[IMP] auditlog: prevent cascading delete of logs when models or field…
Mar 24, 2021
c560a91
[UPD] Update auditlog.pot
oca-travis Apr 30, 2021
a7c1fac
[UPD] README.rst
OCA-git-bot Apr 30, 2021
634b43b
Update translation files
oca-transbot Apr 30, 2021
291bc36
[FIX] auditlog: invalid XML
StefanRijnhart May 18, 2021
45734b9
auditlog 14.0.1.1.1
OCA-git-bot May 19, 2021
9979f76
[ADD] auditlog: enable to track Unlink record
Jun 22, 2021
98cea4a
[ADD] auditlog: test case for capture record
Jun 22, 2021
da0b95a
[UPD] Update auditlog.pot
oca-travis Jun 25, 2021
cda59e3
[UPD] README.rst
OCA-git-bot Jun 25, 2021
de250b4
Update translation files
oca-transbot Jun 25, 2021
2849a5d
[14.0][IMP] auditlog, add auditlog.log.line view
kittiu Aug 19, 2021
7db528d
[UPD] Update auditlog.pot
oca-travis Aug 31, 2021
07fd913
[UPD] README.rst
OCA-git-bot Aug 31, 2021
3256f36
auditlog 14.0.1.2.0
OCA-git-bot Aug 31, 2021
8cf20f2
Update translation files
oca-transbot Aug 31, 2021
dbefcbc
[IMP] auditlog: black, isort, prettier
Jan 31, 2022
18c2c7e
[MIG] auditlog: Migration to 15.0
Jan 31, 2022
120d309
[UPD] Update auditlog.pot
Mar 18, 2022
701b226
[UPD] README.rst
OCA-git-bot Mar 18, 2022
0cd0c48
Translated using Weblate (Spanish (Argentina))
ibuioli Mar 20, 2022
c8943e3
Add option to Eliminate user and fields in audit logs
atchuthan Mar 22, 2022
05e77ca
[UPD] Update auditlog.pot
Sep 27, 2022
f96383f
auditlog 15.0.1.1.0
OCA-git-bot Sep 27, 2022
8ba9b09
Update translation files
oca-transbot Sep 27, 2022
26ee884
Translated using Weblate (Spanish (Argentina))
ibuioli Sep 29, 2022
44b7b60
[FIX] auditlog: autovacuum performance
gurneyalex Oct 31, 2022
512dbab
auditlog 15.0.1.1.1
OCA-git-bot Nov 2, 2022
02f1a89
[MIG] auditlog: Migration to 16.0
StefanRijnhart Nov 18, 2022
0beebad
[IMP] auditlog: dedicated security groups for model access
BertVGroenendael Nov 18, 2022
5e7d397
[UPD] Update auditlog.pot
Dec 22, 2022
34e03d1
[UPD] README.rst
OCA-git-bot Dec 22, 2022
faebb6e
Update translation files
weblate Dec 22, 2022
0921f7e
Translated using Weblate (Spanish (Argentina))
ibuioli Dec 24, 2022
43debe6
[IMP] auditlog: make the line views using a non auto model
etobella Dec 21, 2022
221c53e
[UPD] Update auditlog.pot
Dec 28, 2022
38b56d4
auditlog 16.0.2.0.0
OCA-git-bot Dec 28, 2022
b54adb4
Update translation files
weblate Dec 28, 2022
3d16104
Translated using Weblate (Spanish (Argentina))
ibuioli Jan 1, 2023
095d24f
[FIX] auditlog: Allow passing a chunk size for autovacuum
hbrunn May 10, 2022
c8d91d1
[UPD] README.rst
OCA-git-bot Jan 21, 2023
bd0550f
auditlog 16.0.2.0.1
OCA-git-bot Jan 21, 2023
cb85fb3
Translated using Weblate (Italian)
mymage Mar 23, 2023
e5d4eb2
Translated using Weblate (Slovenian)
sysadminmatmoz Mar 31, 2023
44473d8
Translated using Weblate (Italian)
mymage Jun 7, 2023
a7e4666
Translated using Weblate (Spanish)
Ivorra78 Aug 25, 2023
f7c2b07
[UPD] README.rst
OCA-git-bot Sep 3, 2023
623a243
FIX: auditlog consistency with Many2one fields
SilvioC2C Dec 2, 2022
cff7f18
auditlog 16.0.2.0.2
OCA-git-bot Sep 11, 2023
5ba02f7
[UPD] README.rst
OCA-git-bot Sep 11, 2023
768f2c4
Update translation files
weblate Oct 10, 2023
1730054
Translated using Weblate (Italian)
mymage Oct 23, 2023
9c76326
[FIX] auditlog: prevent removal of x2many values from inaccessible co…
StefanRijnhart Jan 19, 2024
82b8de9
[16.0][FIX] auditlog: Add/Remove User Group
BT-anieto Feb 8, 2024
443dafc
[IMP] auditlog: pre-commit stuff
rven Nov 14, 2023
749a8d4
[MIG] auditlog: Migration to 17.0
rven Feb 5, 2024
a2efa52
[UPD] Update auditlog.pot
Apr 12, 2024
c2b5817
[BOT] post-merge updates
OCA-git-bot Apr 12, 2024
7332031
Update translation files
weblate Apr 12, 2024
846ca48
Translated using Weblate (Italian)
mymage Apr 17, 2024
dc360af
Translated using Weblate (Spanish)
Ivorra78 Apr 23, 2024
0bbceb5
Translated using Weblate (Swedish)
jakobkrabbe Jun 12, 2024
bf64633
Translated using Weblate (Chinese (Simplified) (zh_CN))
xtanuiha Jun 16, 2024
4f6314e
Translated using Weblate (Spanish (Argentina))
ibuioli Sep 16, 2024
2745664
[FIX] auditlog: registry propagation
gurneyalex Oct 22, 2024
c7efc8b
[BOT] post-merge updates
OCA-git-bot Oct 23, 2024
882ce7c
[MIG] auditlog: Migration to 18.0
lembregtse Dec 5, 2024
658ba7d
[FIX] auditlog: Dismiss logging when not needed.
rven Dec 4, 2024
e2eec39
[FIX] auditlog: patch away all write overrides in res.groups for test
hbrunn Dec 12, 2024
f09c4f6
[FIX] auditlog: adapt exclude fields test to #3137
lembregtse Dec 21, 2024
8c3af62
[UPD] Update auditlog.pot
Dec 30, 2024
b912a36
[BOT] post-merge updates
OCA-git-bot Dec 30, 2024
1865243
Update translation files
weblate Dec 30, 2024
8a58642
Translated using Weblate (Turkish)
bo-eska May 8, 2025
615fc7e
[FIX] auditlog rule: Control the write function in the models when ex…
angelvilaplana Apr 18, 2024
d9d53bd
[BOT] post-merge updates
OCA-git-bot Jun 27, 2025
158312f
[18.0] auditlog: Log exports
tarteo Aug 6, 2025
133a313
[UPD] Update auditlog.pot
Sep 17, 2025
e7f6375
[BOT] post-merge updates
OCA-git-bot Sep 17, 2025
f5f582d
Update translation files
weblate Sep 17, 2025
7c6ec68
Translated using Weblate (Italian)
mymage Sep 18, 2025
acf373c
[MIG] auditlog: Migration to 19.0
lembregtse Sep 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
145 changes: 145 additions & 0 deletions auditlog/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=========
Audit Log
=========

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c33a5700ea9b476a18ad0be07c36149449db0c05cdf5c9333cecb5eb431e86a7
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github
:target: https://github.com/OCA/server-tools/tree/19.0/auditlog
:alt: OCA/server-tools
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/server-tools-19-0/server-tools-19-0-auditlog
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-tools&target_branch=19.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows the administrator to log user operations performed on
data models such as ``create``, ``read``, ``write`` and ``delete``.

**Table of contents**

.. contents::
:local:

Usage
=====

Go to Settings / Technical / Audit / Rules to subscribe rules. A rule
defines which operations to log for a given data model.

|image|

Then, check logs in the Settings / Technical / Audit / Logs menu. You
can group them by user sessions, date, data model or HTTP requests:

|image1|

Get the details:

|image2|

A scheduled action exists to delete logs older than 6 months (180 days)
automatically but is not enabled by default. To activate it and/or
change the delay, go to the Configuration / Technical / Automation /
Scheduled Actions menu and edit the Auto-vacuum audit logs entry:

|image3|

In case you're having trouble with the amount of records to delete per
run, you can pass the amount of records to delete for one model per run
as the second parameter, the default is to delete all records in one go.

There are two possible groups configured to which one may belong. The
first is the Auditlog User group. This group has read-only access to the
auditlogs of individual records through the View Logs action. The second
group is the Auditlog Manager group. This group additionally has the
right to configure the auditlog configuration rules.

.. |image| image:: https://raw.githubusercontent.com/OCA/server-tools/19.0/auditlog/static/description/rule.png
.. |image1| image:: https://raw.githubusercontent.com/OCA/server-tools/19.0/auditlog/static/description/logs.png
.. |image2| image:: https://raw.githubusercontent.com/OCA/server-tools/19.0/auditlog/static/description/log.png
.. |image3| image:: https://raw.githubusercontent.com/OCA/server-tools/19.0/auditlog/static/description/autovacuum.png

Known issues / Roadmap
======================

- log only operations triggered by some users (currently it logs all
users)
- log read operations does not work on all data models, need
investigation

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-tools/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/server-tools/issues/new?body=module:%20auditlog%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* ABF OSIELL

Contributors
------------

- Sebastien Alix <sebastien.alix@camptocamp.com>
- Holger Brunn <hbrunn@therp.nl>
- Holden Rehg <holdenrehg@gmail.com>
- Eric Lembregts <eric@lembregts.eu>
- Pieter Paulussen <pieter.paulussen@me.com>
- Alan Ramos <alan.ramos@jarsa.com.mx>
- Stefan Rijnhart <stefan@opener.amsterdam>
- Bhavesh Odedra <bodedra@opensourceintegrators.com>
- Hardik Suthar <hsuthar@opensourceintegrators.com>
- Kitti U. <kittiu@ecosoft.co.th>
- Bogdan Valentin Gabor <valentin.gabor@bt-group.com>
- Dennis Sluijk d.sluijk@onestein.nl

Other credits
-------------

- Icon: built with different icons from the `Oxygen
theme <https://en.wikipedia.org/wiki/Oxygen_Project>`__ (LGPL)

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/server-tools <https://github.com/OCA/server-tools/tree/19.0/auditlog>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions auditlog/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
from . import wizard
22 changes: 22 additions & 0 deletions auditlog/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2015 ABF OSIELL <https://osiell.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Audit Log",
"version": "19.0.1.0.0",
"author": "ABF OSIELL, Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/server-tools",
"category": "Tools",
"depends": ["mail"],
"data": [
"security/res_groups.xml",
"security/ir.model.access.csv",
"data/ir_cron.xml",
"views/auditlog_view.xml",
"views/http_session_view.xml",
"views/http_request_view.xml",
],
"application": True,
"installable": True,
}
12 changes: 12 additions & 0 deletions auditlog/data/ir_cron.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="ir_cron_auditlog_autovacuum" model="ir.cron">
<field name='name'>Auto-vacuum audit logs</field>
<field name='interval_number'>1</field>
<field name='interval_type'>days</field>
<field name="active" eval="False" />
<field name="code">model.autovacuum(180)</field>
<field name="state">code</field>
<field name="model_id" ref="model_auditlog_autovacuum" />
</record>
</odoo>
Loading