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. Accounting
  3. Chart of Accounts Cleanup & Restore v 18.0
  4. Sales Conditions FAQ

Chart of Accounts Cleanup & Restore

by Nezam https://www.nezam.co
Odoo
v 18.0 Third Party 38
Download for v 18.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Invoicing (account)
• Discuss (mail)
Lines of code 1077
Technical Name nz_custom_account_cleaner
LicenseLGPL-3
Websitehttps://www.nezam.co
Versions 15.0 16.0 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Invoicing (account)
• Discuss (mail)
Lines of code 1077
Technical Name nz_custom_account_cleaner
LicenseLGPL-3
Websitehttps://www.nezam.co
Versions 15.0 16.0 18.0 19.0
Community
Enterprise
On Premise
Odoo Online
Odoo.sh

NZ Solutions Apps for Odoo

Chart of Accounts Cleanup & Restore — Odoo 18

Safely clean your chart of accounts with multi-step confirmation, detailed deletion logs, Excel export, and selective restore. The module tracks deleted, protected, referenced, and failed accounts so you always keep full audit visibility.

NZ Solutions
Email Us +20 1550935225
Account cleaner demo

What does this module provide?

This module adds a controlled process to remove chart of accounts in Odoo with strong safeguards. Users must type confirmation text before deletion, can optionally force-delete protected accounts, and every run creates a detailed log with counters for deleted/protected/referenced/failed accounts. From each log, users can export the deleted accounts to Excel, mark lines for restore, restore selected accounts, and manage selection quickly with Select All / Unselect All buttons.

KEY HIGHLIGHTS

Multi-Step Deletion Safety

Deletion starts with a confirmation wizard and requires typing DELETE. Force-delete has an extra final warning step with CONFIRM DELETE.

Detailed Result Tracking

Each operation records totals for deleted, protected, referenced, and failed accounts so the result is always transparent.

Excel Export

Export deleted chart of accounts into an Odoo-style Excel file and keep it as backup for future recovery scenarios.

Selective Restore

Restore only selected deleted accounts from log lines, with duplicate checks and fallback create strategy.

Bulk Selection Tools

Use Select All / Unselect All on log lines to speed up restore preparation for large account sets.

Accounting Manager Restricted

Access is restricted to Accounting Managers for both cleanup and restoration operations.

  • Screenshots
  • Features
  • FAQ
  • Releases

1) Start Cleanup Action

From Chart of Accounts, click the cleanup action to open the deletion confirmation wizard.

Open cleanup wizard

2) Type DELETE and Confirm

In the wizard, type DELETE and click the delete button to proceed with the normal protected-safe deletion flow.

Type DELETE confirmation

3) Deletion Result Summary

A result message appears showing how many accounts were deleted, protected, and failed during deletion.

Deletion counters

4) Open Deletion Logs Menu

Go to the dedicated Deletion Logs menu to review all cleanup operations.

Deletion logs menu

5) Log Form with Deleted Accounts

Open a log record to see full details and the deleted account lines available for restoration.

Log details and lines

6) Export Excel Button

Use the Export Chart of Accounts button to download the deleted accounts in Excel format.

Export to xlsx

7) Exported Excel File

The exported sheet follows Odoo-style structure and can be archived for backup and recovery purposes.

Exported excel sample

8) Select Lines for Restore

From account lines, choose records manually or use Select All / Unselect All shortcuts.

Select restore lines

9) Restore Selected Accounts

After selecting accounts, click Restore Marked Accounts to bring them back to chart of accounts.

Restore action

10) Restore Success Notification

A notification confirms restored/failed/skipped totals so you can verify the restore outcome instantly.

Restore result notification

11) Open Deletion Popup Again

You can reopen the deletion popup at any time to start a new cleanup operation.

Reopen deletion wizard

12) Enable Force Delete + Type DELETE

Activate force delete mode, type DELETE, and continue to the final safety confirmation step.

Force delete option

13) Final Warning Confirmation

The final warning wizard appears and requires CONFIRM DELETE before force deletion is executed.

Final warning confirm delete
Server action cleanup: Trigger delete-all flow directly from chart of accounts actions.
Typed confirmation: Requires DELETE text before running deletion.
Force delete mode: Optional mode for deleting protected accounts with extra final warning.
Detailed deletion logs: Saves totals and per-account line snapshots after every run.
Excel export: Download deleted chart accounts in .xlsx format.
Selective restore: Restore only chosen deleted accounts from log lines.
Select all / unselect all: Fast bulk selection tools for restore workflow.
Duplicate-safe restore: Skips accounts that already exist in the chart.
Snapshot-based rebuild: Restores account values from stored JSON snapshots.
Manager-only access: Restricted to Accounting Managers using ACL + group checks.
Notification summaries: Live success/warning messages after delete/restore operations.
Odoo 18 ready: Built for Odoo 18 Community and Enterprise.
Who can run account cleanup?

Only users in the Accounting Manager group can run deletion and restore actions.

Can I delete protected accounts?

Yes, via Force Delete mode, but it requires an additional final confirmation step to reduce accidental damage.

What if some accounts cannot be deleted?

The process continues and logs protected, referenced, and failed accounts with reasons where possible.

How do I restore deleted accounts?

Open a deletion log, mark lines to restore, then click Restore Marked Accounts.

Can I export the deleted chart for backup?

Yes, use Export Chart of Accounts to download an Excel file from each log.

Does restore create duplicates?

No. The module checks if account code already exists and skips duplicates.

Can I restore all lines quickly?

Yes. Use Select All then Restore Marked Accounts.

Is this compatible with Odoo 18?

Yes, this release targets Odoo 18 Community and Enterprise.

Version 18.0.1.0.0
Initial Odoo 18 Release
  • Ported from Odoo 19 to Odoo 18
  • Delete all chart of accounts with confirmation wizard
  • Optional force-delete flow with final warning wizard
  • Detailed deletion logs with account-level snapshots
  • Excel export for deleted chart of accounts
  • Selective restore with bulk select/unselect tools
  • Compatibility fixes for Odoo 18 loading and views
© 2026 NZ Solutions - All rights reserved.

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, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
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