Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Extra Tools
  3. Smart Undo — Recycle Bin v 19.0
  4. Sales Conditions FAQ

Smart Undo — Recycle Bin

by Naim OUDAYET https://www.oudayet.com
Odoo

$ 39.99

v 19.0 Third Party 1
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 1033
Technical Name no_smart_undo
LicenseOPL-1
Websitehttps://www.oudayet.com
Versions 16.0 17.0 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 1033
Technical Name no_smart_undo
LicenseOPL-1
Websitehttps://www.oudayet.com
Versions 16.0 17.0 18.0 19.0
  • Description
  • License

Smart Undo — Recycle Bin

Recycle Bin, Field Change History and Archive Undo — one module, three safety nets.

Odoo 19 $40 USD 25 Tests Passing
Smart Undo toast notification appearing after a record is moved to the Recycle Bin, with a one-click Undo button in the upper right
The moment a delete becomes undoable.

Three Mistakes That Cost Hours

Accidental deletes, overwritten edits, archived-by-mistake. Standard Odoo gives you no way back.

Without this module

A user hits Delete on the wrong rows — the data is gone. Someone overwrites a phone number — no history. A record gets archived by mistake — no trail, no easy revert.

With this module

Deletes go to a Recycle Bin with a 10-second Undo toast. Every field change is tracked with one-click revert. Archive and unarchive are reversible from the same change log.

One Module. Three Safety Nets.

Replaces three to five separate modules with a single installation.

Recycle Bin

Soft-delete via archive. Browse, restore, or permanently delete from a dedicated view. Daily auto-purge after a configurable retention.

Change History

Field-level write tracking. Old value, new value, who and when. One-click revert per field, or batch revert per write.

Archive Undo

Every archive and unarchive is logged in the same Change History. Revert to put the record back exactly where it was.

Instant Toast

A 10-second toast with an Undo button appears the moment records are deleted — from list view, form view, or any server action.

Per-model toggle. Excluded core models. No workflow changes.

Change History list view showing field-level write tracking with old value, new value, user, timestamp, and revert status for every change
Every field change, every archive — tracked, attributable, revertible.

Real-World Scenarios

Sales rep deletes the wrong opportunities

Twelve rows selected by mistake, Delete pressed, dialog confirmed. The toast pops up. One click, all twelve are back — or visit the Recycle Bin tomorrow morning and restore them by batch ID.

Product price overwritten in bulk

An import script touched 400 product records and wrote the wrong list price on each. Open Change History, filter by user and date, batch-revert. Original prices restored without a database restore.

Customer archived during cleanup

A junior accountant ran an archive action on inactive partners and caught five active customers in the net. Change History shows the archive event, batch revert, customers reactivated — and the original archive date is preserved.

Manager wants an audit trail

Who archived the supplier? Who changed the bank account? The Change History view shows the user, the field, the old and new values, and the timestamp. No external audit module needed.

How It Works

1
Intercept at the ORM

A patch on the base model wraps unlink, write, action_archive and action_unarchive for every protected model.

2
Persist a trail

Deletes become archives plus a Recycle Bin entry. Writes capture old & new values. Archive and unarchive get a Change History entry with the prior state.

3
Restore on demand

From the toast, the Recycle Bin, or the Change History view. Single record, batch by ID, or filter-driven bulk restore. A daily cron purges old entries.

Recycle Bin list view showing trashed product records with deletion timestamp, user, and an In Trash status badge per row
Recycle Bin — nothing's really gone.
Recycle Bin record detail view showing the Restore and Delete Forever buttons, plus the In Trash status indicator
One click restores. One click permanently deletes.

Installation

No Python dependencies, no migration, no manual configuration.

Step 1

Install from the Apps menu

Apps menu → remove the Apps filter → search “Smart Undo” → Install.

Step 2

Tune from Settings

Settings → Smart Undo. Toggle the master switch, pick which models are protected, set retention windows for the Recycle Bin and Change History.

Smart Undo settings page showing the master Recycle Bin toggle, Protect All Models, retention windows for trash and Change History, and the Track Field Changes switch
Tune retention, pick protected models, toggle features — all from one settings page.

Works With Every Model You Care About

Anything with an active field is eligible — core or custom.

Contacts & Companies
Sales & Quotations
Products & Variants
Invoices & Bills
Inventory Moves
Any custom model

Core system models (ir.*, bus.*, mail.*) are excluded by default for stability.

What This Module Doesn't Do

Honest scope. Here's what's out of reach.

✗ Doesn't track unstored fields

Computed non-stored fields, related fields, and one2many / many2many lines aren't recorded. The Change History tracks what's actually written to the database.

✗ Doesn't undo migrations

DDL changes from module updates (added or removed fields, schema changes) aren't reversible — they're not user actions. Only ORM-level user operations are tracked.

Soft warning — models without active

Recycle Bin works by archiving. Models without an active field can't be soft-deleted — deletes pass through normally. Change History still tracks their writes.

Soft warning — storage

Tracking writes generates rows. The defaults (30 days for trash, 90 days for Change History) keep the table size predictable; tighten or relax per your appetite.

No External Services. No Hidden State.

Smart Undo runs entirely inside your Odoo instance. Two new tables (undo.trash, undo.change.log), two cron jobs, one settings page, two record-rule sets (User and Manager). Every byte stays in your database.

FAQ

Will this slow down my Odoo?

Tracking adds one INSERT per write per changed field, scoped to the models you protect. The list of excluded fields filters out churny system fields (write_date, state, kanban_state) so you're not logging UI clicks.

Can I really delete from the Recycle Bin?

Yes — the Manager group has a Permanently Delete action that runs a true unlink and bypasses the soft-delete entirely. The User group can only restore.

Does it interact with mail.thread / activities?

No. Mail-related fields (message_ids, activity_ids) are in the SKIP list. Smart Undo doesn't post messages or schedule activities — it stays out of the chatter.

Can I bypass tracking from a script?

Yes. with_context(force_delete=True).unlink() bypasses the Recycle Bin. with_context(no_smart_undo_skip_tracking=True).write({...}) bypasses the Change History. Used internally for revert operations.

What about user permissions?

Two groups ship: Smart Undo User (sees own activity, restores own records) and Smart Undo Manager (sees everything, can permanently delete and purge). Record rules enforce the boundary.

At a Glance

Odoo Version
19.0 — Community & Enterprise
Models added
undo.trash, undo.change.log
Python deps
None
Tests
25 unit tests, all passing
Cron jobs
2 daily (purge trash, purge change logs)
Support
contact@oudayet.com
License
OPL-1 ($40 USD)
Smart Undo — Recycle Bin — $40 USD, Odoo 19
© Naim OUDAYET — oudayet.com — OPL-1 license
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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with