What Record Recycle Bin does
Pick the models to protect. Every delete keeps a restorable snapshot with its lines, files, images, chatter and followers. Restore recreates the record, repairs its links and tells you exactly what came back.
Undo deletes: keep a restorable snapshot of deleted records with their lines, attachments and chatter. Restore with link repair, preview, duplicate guard, partial merge, retention, legal hold and audit log.
- Lines, files and chatter
- Link repair
- Undo button
- Retention and legal hold
Features
A full snapshot on delete
Field values with their display names, one2many lines (up to three levels), attached files, images, chatter messages and followers. Who deleted it, when, from which company and from where: web interface, external API, website, scheduled action or script.
Restore that repairs links
The record, its lines and files come back. Links are reconnected when their target still exists; everything that could not come back is listed in a restore report, also posted on the restored record.
Linked records in the bin Extra
When the customer of a deleted order is in the bin as well, restore it first in the same step, pick another record, or leave the field empty. Records deleted together are restored in the right order.
Preview before restoring Extra
See the lines, files and messages that will be recreated, the links that no longer exist, and fields or options that changed or disappeared since the delete.
Duplicate guard and merge Extra
If someone already recreated the record by hand, you are warned. Merge shows the live record and the deleted one side by side; tick the values and lines to copy.
Undo and bin counter
Undo right after a delete from any list or form, an optional deletion reason per model, and a top bar counter of your own deleted records.
Retention, quota and legal hold Extra
Default retention with a per-model override, a size quota that purges the oldest entries first, legal hold for entries that must stay, and expiry extension with every change logged.
Reminders and digest Extra
People are told a few days before their deleted records are purged. Bin managers can get a weekly summary of deletions, restores and upcoming purges.
Access stays intact Extra
Users see and restore only their own deletions within a self-service window. Restores run with the user's own rights, fields they cannot read stay hidden, and selected fields can be shown as dots to everyone except bin managers.
Restore groups per model Extra
Limit who may restore or purge entries of a model, for example only accounting managers for journal entries.
Readiness check Extra
Try capture and restore on a real record of the model inside a rolled-back transaction and read what would be kept, changed or lost before anyone relies on it.
Export and import Extra
Download entries as a JSON file with their files and restore them in another database, for example from production into a staging copy.
Audit log and analysis
Every restore, failed restore, merge, purge, automatic purge, expiry change and hold is logged with who and when. Graph and pivot views show deletions by model, user and date.
Never blocks a delete
If a snapshot cannot be taken, the delete goes ahead and the error is logged; a setting can refuse the delete instead. A refused delete leaves no entry behind.
Big deletes stay fast
A cap per delete keeps full snapshots for the first records and only who, when and what for the rest. Scripts can skip the bin with a context key, and a master switch turns it off.
How it works, step by step
01The recycle bin
Every deleted record with who deleted it, when, why and when it will be purged. Filters for my deletions, today, this week, expiring soon, on hold, restored and purged, and a search inside the stored values.

02Grouped by document type
The kanban view groups entries by model, shows the days left before purge and puts Restore one click away.

03Readable preview
Labels, display names, amounts and the order lines as a table, plus the files, messages and followers that were kept.

04Restore preview with link repair
The customer of this quotation was deleted too. Restore it first, choose another customer, or leave the field empty.
05Back with its lines and history
The quotation returns with its original number and ID, its four lines, the attached file and its chatter. The restore report is posted as a note.
06Optional deletion reason
For the models you choose, deleting from a list or form asks for a reason. It is stored on the entry and can be searched.
07Undo right after the delete
The notification offers Undo and a shortcut to the bin; the counter in the top bar shows how many of your deletions are in the bin.
08Merge into an existing record
Someone already recreated the contact by hand. Compare current and deleted values side by side and copy only what you tick, lines included.
09Settings per model and readiness check
Lines, attachments, images, chatter, original ID, self-service window, restore groups, duplicate check, reason, retention and quota. The readiness check tries capture and restore on a real record and rolls everything back.
10General settings
Master switch, default retention, expiry reminder, weekly digest, snapshot cap and what to do when a snapshot fails.
11Activity log
Restores with their report, merges, purges, expiry changes and holds, with the person and the time.
12Deletion analysis
Graph and pivot views of deletions by model, user and period.
Questions about Record Recycle Bin
Which models can I protect?
Any model with its own table, including custom models. Contacts are protected after installation; Add common models adds the usual business documents of the apps you have installed. Technical tables (settings, views, messages, users) cannot be selected.
What happens to lines and other records deleted together?
Lines that Odoo deletes together with their record, such as order lines or invoice lines, are stored inside the entry of the record and come back with it. They do not create entries of their own. A record of another protected model deleted in the same step gets its own entry, linked to the first one under Deleted Together. Deletes run directly in the database, without going through Odoo, are not seen by the bin.
Does it change how deletes work?
No. Odoo still checks the delete exactly as before. If Odoo refuses it, nothing is kept. Models that archive instead of deleting, like bank accounts, keep working that way and do not get an entry.
Do restored records get their original ID?
Yes when the ID is still free and nothing else points to the new record yet; otherwise the record gets a new ID, and later restores of records that link to it are connected to the new ID automatically. Creation date and creator are those of the restore; the history stays in the chatter.
Who can see a deleted record?
Users see only what they deleted themselves, managers see the entries of their companies. In both cases the preview leaves out fields the person may not read, and masked fields show as dots to everyone except bin managers.
Is a restore checked against access rights?
Yes. The restore runs as the person who clicks it: they need the right to create that kind of record, values they may not set are left out and listed in the report, and restore groups per model are checked first.
How do scripts and data migrations skip the bin?
Add recycle_bin_skip=True to the context of the delete, or switch the bin off in the settings for the duration of the migration.
Does it work on Community and Enterprise?
Yes. It needs only the Discuss module, which every database already has.
