Audit Trail

by
Odoo 1
v 10.0 Third Party 1372
Download for 10.0 series Deploy on Odoo.sh
You bought this module and need support ? Click here !
Technical name smile_audit
LicenseAGPL-3
Websitehttp://www.smile.fr
Repositoryhttps://github.com/Smile-SA/odoo_addons#10.0
Read description for v 12.0 v 11.0 v 9.0 v 8.0 v 6.1

Audit Trail

License: AGPL-3 Smile-SA/odoo_addons

This module lets administrator track every user's operation on all the objects of the system (for the moment, only create, write and unlink methods). Each rule for tracking user's operation on data through the Odoo's interface is called audit rule.

Features:

  • The administrator creates an audit rule by specifying the name and the module on which the rule will be applied,
  • The administrator ticks the operations he wants to follow (creation and/or modification and/or deletion),
  • The administrator selects the group of users concerned by the audit.
  • A rule can be disabled if the administrator does not want to follow its logs anymore.
  • Operations performed by a user will be automatically recorded in the list of logs according to the pre-defined rule.
  • The log view contains details about each operation: date, name, the module, the user, old and new values of each modified field, etc.
  • The module also allows a history revision of each operation.
  • The administrator can delete audit rules but logs can't be deleted.
  • Users can view a list of current model logs.

Table of contents

Usage

To create a new rule:

  1. Go to Settings > Audit > Rules menu.

  2. Press the button Create.

  3. Insert the name of the rule, the model and the user group. Then check operations you want to audit.

    Audit rule

To show the list of logs and edit a log:

  1. Go to Settings > Audit > Logs menu.

    List of audit logs
  2. Display the log by clicking on a line to see more details about the operation and changes.

    Line of log

To view different versions of the object:

  1. Click on the smart button History Revision.

    Line of log
  2. Corresponding history:

    History revision

To view logs of displayed model:

  1. Select one or multiple lines from the list view.

  2. Go to Action > View audit logs.

    View audit logs

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback here.

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

GDPR / EU Privacy

This addons does not collect any data and does not set any browser cookies.

Credits

Contributors

  • Corentin POUHET-BRUNERIE

Maintainer

This module is maintained by Smile SA.

Since 1991 Smile has been a pioneer of technology and also the European expert in open source solutions.

Smile SA

This module is part of the odoo-addons project on GitHub.

You are welcome to contribute.

Please log in to comment on this module

Please choose a rating from 1 to 5 for this module.
Odoo
I get the following error when I click on the logs
by on

Odoo Odoo Server Error Traceback (most recent call last): File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\http.py", line 642, in _handle_exception File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\http.py", line 684, in dispatch File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\http.py", line 334, in _call_function File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\service\model.py", line 101, in wrapper File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\http.py", line 327, in checked_call File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\http.py", line 942, in __call__ File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\http.py", line 507, in response_wrap File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\addons\web\controllers\main.py", line 895, in call_kw File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\addons\web\controllers\main.py", line 887, in _call_kw File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\api.py", line 689, in call_kw File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\api.py", line 680, in call_kw_multi File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\models.py", line 3028, in read File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\models.py", line 5236, in __getitem__ File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\fields.py", line 915, in __get__ File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\fields.py", line 1027, in determine_value File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\fields.py", line 981, in compute_value File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\fields.py", line 972, in _compute_value File "", line 2, in _render_html File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\api.py", line 369, in loop File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\addons\smile_audit\models\audit_log.py", line 112, in _render_html File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\addons\smile_audit\models\audit_log.py", line 98, in _get_content File "C:\Program Files (x86)\Odoo 10.0e\server\odoo\addons\smile_audit\models\audit_log.py", line 86, in _format_value TypeError: astimezone() argument 1 must be datetime.tzinfo, not None