Audit Log & Audit Trail GDPR Studio: Login History, Record Restore & Anonymizer
by DAHMANI LIMITED https://guides.dahmani.me/odoo-audit-log-gdpr-record-restore/$ 99.00
Audit Log & Audit Trail GDPR Studio: Login History, Record Restore & Anonymizer for Odoo 17.0, 18.0, 19.0 & 20.0
A complete audit log and user audit trail for Odoo Community & Enterprise: see who changed which field from what to what, who deleted a record, who exported data and who signed in from where.
Restore deleted records and roll back field changes in one click, handle GDPR erasure and data export requests with a downloadable certificate, and prove nobody edited the trail with a SHA-256 hash chain.
Depends only on base, web and mail. PDFs are built with ReportLab, so wkhtmltopdf is not needed. One-time $99, OPL-1.
Watch 90-Second Live Walkthrough
Watch Audit Log & GDPR Studio running live on Odoo 17.0 to 20.0: field-level audit trail, one-click restore, login history, a verified hash chain and GDPR erasure with a certificate.
Watch the 90-second demo on YouTube | Read the Complete Setup & Comparison Guide
What you get
- Field-level audit trail (change log): creations, edits with before and after values, deletions with a full snapshot, record views in the web client (optional, per model) and exports. Every change to the audit configuration is itself logged. Choose the models; Contacts, Users, Groups and Companies are audited from day one.
- 1-click record restore and field rollback: restore a deleted record or revert a change. A dry run checks access rights, record rules and constraints first and shows every field that will be restored, skipped or left empty because a linked record is gone. Rollback warns you when a field changed again since.
- Login history and sessions: successful, failed and signed-out logins with IP address and device; active sessions; Sign Out Everywhere for any user.
- Tamper-evident audit trail: every event is sealed into a SHA-256 hash chain. The hourly check (or Verify now) reports edited, deleted, reordered or truncated events, and markers kept in the server's filestore catch a truncated, re-anchored or downgraded chain (keep the filestore with your database backups, as Odoo backups do). Add a server secret in
odoo.confto seal with HMAC-SHA256, so someone with database access alone cannot rebuild a valid chain. - GDPR right to erasure (Art. 17) and data anonymizer: log the request, record how identity was verified, preview what will be erased and what must be kept, then anonymize the contact, its login account, chatter messages and the audit trail: events about the person, links that point to them, and their e-mail address or full name (two words or more, current or earlier as recorded in their own history) wherever it appears as a whole word. Single-word names and other free-text mentions are not detected, and the preview shows how many trail entries will be redacted. Child contacts are included only if you choose. Invoices and orders stay linked to the anonymized contact. Posted accounting entries trigger a legal hold that keeps the invoicing identity.
- Certificate of Erasure (PDF): reference, operator, legal basis, fields erased, clean-up done, an e-mail fingerprint the person can check and the chain head hash.
- DSAR data export (Art. 15 & 20): JSON and PDF with the person's data, the documents that refer to them, their messages, recorded changes and sign-ins. Export files are deleted after 30 days.
- Retention rules: archive, anonymize or delete records older than N days, plus a retention period for the audit trail with verifiable checkpoints.
- Security & Compliance dashboard: chain health, KPIs with period-over-period change, daily activity, latest events and active sessions. Works at 375 px on phones.
- Dashboard alerts (shown on the dashboard, not sent by e-mail): repeated failed logins for one login and IP (3+ in 24 h), sign-ins from an IP address the user has not used in 30 days, access-right changes, mass deletions by one user (20+ in 24 h) and bulk exports (1,000+ rows).
- Reports and exports: Audit Report PDF in one click, CSV of the trail for Excel or SIEM import (formula-safe), and Odoo's standard list export. Every export of the trail is itself logged.
More than a user audit log
One $99 module covers what usually takes an audit log app plus a separate GDPR tool: the trail, restore and rollback, login history, erasure with a certificate and data exports.
| Capability | 9 Odoo audit / GDPR apps we reviewed (store pages, Nov 2026) | Audit Log & GDPR Studio |
|---|---|---|
| Field-level before/after change log | 3 of 9 state it | Yes, plus deletions, views and exports |
| Login history | 6 of 9 | Yes, with Sign Out Everywhere |
| Restore a deleted record / roll back a field on the live database | none stated | Yes, with a dry run that checks access rights |
| Hash-chained, verifiable trail | 1 of 9 | Yes, SHA-256 or HMAC-SHA256 |
| GDPR erasure with a certificate and a data export | none stated both | Included |
| Odoo 20.0 version | 4 of 9 missing | Yes |
Before and after, field by field
Each change event shows the user, the time (UTC) and the exact before and after values; the Connection and Tamper Evidence tabs hold the IP address, device and chain hashes. Passwords, API keys, tokens and card or account numbers are never stored: the trail only says they changed. Fields reserved to specific groups (for example accounting) are masked too, unless you choose to store them.
Restore deleted records with a dry run first
The restore runs as the current user, so it can never bypass access rights. The preview tells you exactly what comes back.
Login history with failed login tracking
GDPR erasure you can review before it happens
Prove the audit trail was not edited
Roles
| Group | Can do |
|---|---|
| Auditor | Read the audit trail, login history, sessions and chain checks; dashboard; Audit Report PDF. |
| GDPR Officer | Everything an Auditor can, plus data subject requests, erasure, data export and certificates. |
| Manager | Everything, plus audited models, retention, restore, rollback and signing users out. Settings administrators get this role automatically. |
Users without one of these roles cannot open any audit data. Raw deletion snapshots are visible to Managers only. Multi-company rules apply. Auditors see the trail as it was recorded, including the names of linked records at that time, so give the role only to people allowed to review that history.
Good to know
- Works on Odoo 17.0, 18.0, 19.0 and 20.0 (native OWL 3 and
ir.access.csvon 20.0), Community and Enterprise, on-premise and Odoo.sh. Not available on Odoo Online (custom modules cannot be installed there). - Changes made directly in SQL, and child lines removed by a database cascade, are outside the ORM and are not logged. The hash chain detects SQL edits to the trail itself. Without the optional server secret, someone with full database and server access could rebuild the chain; keep the head hash printed on reports outside Odoo, or set the secret.
- Record views are logged for reads made in the web client (form and list views). Reads through external APIs are not logged as views.
- Suspicious logins are recorded and shown on the dashboard; the module does not block IP addresses, lock accounts or send notifications.
- Erasure is permanent. Keep regular database backups as your own policy requires.
- This module helps you meet GDPR obligations; it is not legal advice.
Complete your Odoo governance & compliance setup
Access Rights & UI Visibility Studio
Hide menus, fields, buttons and tabs, or make them read-only, per group. Control who can see data; prove it with the audit trail.
View moduleAll in One Backdate Control
Controlled backdating for stock, sales, purchase, manufacturing and accounting documents.
View moduleSupport: support@dahmani.me · DAHMANI LIMITED
More Free Community & Enterprise Apps by DAHMANI LIMITED
Every app below supports Odoo 17.0, 18.0, 19.0 and 20.0 on Community, Enterprise and Odoo.sh. Same publisher, same support desk: support@dahmani.me.
7 Free Community Apps FREE · LGPL-3
- All in One Backdate Control: Stock, Sales, Purchase, MRP & Accounting
Backdate stock moves, sale and purchase orders, MRP and accounting entries with a controlled effective date. - Google Consent Mode v2, GA4, Meta Pixel & Conversions API Tracking
Cookie consent banner with Google Consent Mode v2, GA4, Meta Pixel and the server-side Conversions API. - Website Form Builder: Multi-Step Forms, File Upload & Conditional Logic
Build multi step website forms and contact forms with file upload and conditional logic. - Gantt View Pro for Odoo Community: Project, MRP & Tasks Gantt Chart
Gantt chart view for projects, tasks and manufacturing orders in Odoo Community. - Lost Messages & Unmatched Email Routing Hub (Catchall Triage)
Catch unmatched catchall emails and route lost messages to the right record. - Visual Label Designer: ZPL & PDF Barcode, Product, Shipping & Avery Labels
Design ZPL and PDF barcode labels, product labels, shipping labels and Avery sheets. - Activities Management & Activity Dashboard: SLA, History & Recurring Tasks
Activity dashboard with SLA tracking, activity history and recurring activities.
7 Enterprise Pro Apps PRO · OPL-1
- GoBD DATEV Export Pro: GDPdU Z3 Audit, EXTF Buchungsstapel, Belegbilder
GoBD Export (GDPdU Z3) and DATEV Export (EXTF Buchungsstapel, Belegbilder) for your Steuerberater. - KPI Dashboard Builder Pro: Executive BI Dashboards, SQL, PDF & AI
Drag-and-drop KPI dashboard builder: BI dashboards, SQL widgets, PDF digests and AI. - Direct Print Universal: USB, Bluetooth & Network Printers, ZPL & Silent PDF
Direct print to USB, Bluetooth and network printers without PrintNode, ZPL and silent PDF. - Audit Log & Audit Trail GDPR Studio: Login History, Record Restore & Anonymizer (this app)
Audit log and audit trail with login history, record restore and a GDPR anonymizer. - eLearning SCORM 1.2 & 2004 Player: LMS Gradebook, Tracking & Certificates
SCORM 1.2 and SCORM 2004 player for Odoo eLearning with LMS gradebook and certificates. - Access Rights & Access Management Studio: Hide Menus, Fields, Tabs & Read-Only
Access rights without code: hide menus, fields, tabs and buttons or make them read-only. - Dynamic Approval Workflow: Multi Level Approval Rules for Sales, Purchase & Invoices
Multi level approval workflow rules for sales, purchase and invoices.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 5296 |
| Technical Name |
audit_gdpr_studio |
| License | OPL-1 |
| Website | https://guides.dahmani.me/odoo-audit-log-gdpr-record-restore/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module