Track Deleted Records
by HOUSE OF APPS https://apps.odoo.com/apps/browse?repo_maintainer_id=1201204$ 500.00
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 1962 |
| Technical Name |
track_deleted_records |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/browse?repo_maintainer_id=1201204 |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 1962 |
| Technical Name |
track_deleted_records |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/browse?repo_maintainer_id=1201204 |
| Versions | 18.0 19.0 |
Track Deleted Records
A complete audit trail for every deletion in your Odoo system. The moment any record is removed — a customer, an invoice, a product, a purchase order — this module captures a full snapshot of it, logs who pressed delete and from where, and stores it safely in an immutable, tamper-proof audit log. Managers get instant alerts for suspicious bulk activity or deletions on sensitive models. And when something is deleted by mistake, restore the original record in a single click.
Complete deletion governance in one module
Track Deleted Records covers every stage of the deletion lifecycle — from capture and verification to alerting, recovery, and long-term retention management.
Everything you need to know about every deletion
From the moment a record is removed, Track Deleted Records captures, protects, and presents every detail — without touching your existing workflows or data.
Up and running in minutes
No configuration is required to start capturing deletions. Everything works from the moment the module is installed.
Two layers of protection — always watching
Track Deleted Records runs two independent alert mechanisms in parallel. Together they catch both accidental mass deletions and targeted removals on your most sensitive records.
- Fires when a single user deletes more records than the threshold within the monitoring window
- Default: 50 deletions within 10 minutes — fully configurable
- Deduplication prevents alert spam — one open alert per user per window
- Managers receive an email notification with the user name, count, and window details
- Managers can view the related log entries directly from the alert with one click
- Alerts stay open until a manager acknowledges them
- Set the threshold to zero to disable this check entirely
- Fires immediately for every deletion on any model you have marked as Critical
- Works regardless of volume — even a single deletion raises the alert
- Typical use cases: customers, confirmed sales orders, posted invoices, contracts
- Each alert records the exact record name and ID that was removed
- Each alert includes a direct link to the audit log entry with the full snapshot
- Managers receive an email notification naming the model and the user who deleted
- Add or remove critical models at any time from the Configuration menu
Unacknowledged alerts appear highlighted in red on the Alerts Overview dashboard with live counters. Managers can acknowledge alerts individually or in bulk using the Action menu. Acknowledged alerts remain in the system for the record — they are never silently deleted.
Bring deleted records back — exactly as they were
Select a single log entry in the list and use Action → Restore Record — useful when quickly hunting through a filtered list of recent deletions.
An audit log you can trust
The audit log is designed to be as trustworthy as the events it captures. Multiple layers of protection ensure that entries cannot be silently altered or removed.
Child records deletion? Tracked too.
When deleting a parent record causes Odoo to automatically remove related child records, every child deletion is also captured — and each child log entry is linked back to the parent that triggered it.
Keep what matters, clean up what doesn't
Long-term log management is fully automated — with fine-grained control per model for organisations with different retention requirements across business areas.
| Setting | Default | Effect |
|---|---|---|
| Global Retention | 90 days | Log entries older than this are purged daily |
| Per-Model Rule | — | Overrides global for a specific model |
| Retention = 0 | — | Keep logs for that model forever |
| Snapshot Cap | 100 records | Skip full snapshot on large batch deletes |
| Auto-cleanup job | Daily | Runs in the background, no manual action needed |
| Integrity scan | Weekly | Re-verifies every SHA-256 hash in the log |
Everything tunable from one Settings page
A dedicated Settings screen under the module's Configuration menu puts all key options in one place — no need to hunt through system parameters.
Built for teams that need accountability
See it in action
A complete walkthrough — from the first deletion to recovery, alerts, cleanup, and settings. Every stage shows what a Regular User can see and do versus what a Manager has access to.
Captured
List
Form
Preview
Record
Alert
Alert
Dashboard
Wizard
Check
Tracking
& Report
Model
Model
| Capability — Audit Log List | 👤 User | 👑 Manager |
|---|---|---|
| View all log entries | ✓ | ✓ |
| Filter by model / user / date | ✓ | ✓ |
| Group by model or month | ✓ | ✓ |
| Restore Record (Action menu) | ✗ | ✓ |
| Export as CSV (Action menu) | ✗ | ✓ |
| Verify Integrity (Action menu) | ✗ | ✓ |
| Print PDF Audit Report | ✗ | ✓ |
| Capability — Suspicious Activity Alert | 👤 User | 👑 Manager |
|---|---|---|
| View the alert (triggered user, count, window) | ✓ | ✓ |
| Toggle Acknowledged on a single alert | ✓ | ✓ |
| See the Related Log Entries sublist | ✗ | ✓ |
| Bulk-acknowledge from list Action menu | ✗ | ✓ |
| Email notification on alert creation | ✗ | ✓ |
| Menu Item / Capability | 👤 User | 👑 Manager |
|---|---|---|
| Deleted Records → Audit Log | ✓ | ✓ |
| Deleted Records → Suspicious Alerts | Read only | ✓ |
| Deleted Records → Alert Overview | Hidden | ✓ |
| Deleted Records → Critical Alerts | Hidden | ✓ |
| Configuration → Settings | Hidden | ✓ |
| Configuration → Critical Models | Hidden | ✓ |
| Configuration → Retention Rules | Hidden | ✓ |
| Configuration → Cleanup Old Logs | Hidden | ✓ |
sale.order) and its database ID (72) so you
can trace every cascade deletion back to a single root action.
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