This module enables the user to erase certain accounting transaction records and safely ‘zero’ the Odoo account chart easily. The accounting transaction records which will be deleted are as specified below:
The purpose of this module is to remove accounting transactions and 'zero' the accounts chart. It is used during the development and test stages of an Odoo project to remove financial data that was created whilst testing. As this module is designed to remove transactions, it should not installed or used after go live as live data will be removed. See roadmap for planned developments below.
This module reduces the development overhead of purging each transaction manually and then verification of the charts.
If test data is not removed after testing, it will interfere with live customer data.
1) The below screenshots depict the current state of accounting transactions, Journal entries, Chart of taxes and Chart of accounts in Odoo system before execution of the removal script.
Customer Invoices (Validated and Paid)
Customer Payments (Posted)
Supplier Invoices (Validated and Paid)
Supplier Payments (Posted)
Journal Entries (Posted)
Journal Items (Posted & Reconciled)
Chart of Accounts
Chart of Taxes
2) Now, execute the script using the following steps:
Go to Accounting → Configuration → Reset Accounts. A help wizard will then open.
3) Select the 'Company' for which accounting entries needs to be erased.
4) Tick the checkbox to confirm you understand the implications of this action
5) Click on 'Reset Accounts' button
This will trigger the execution of script at the back end and all the accounting entries will be rolled back to 0
6) Provided below are the screenshots after execution of the removal operation which shows the entries are rolled back to 0.
Journal Entries (after execution of removal Script)
Journal Items (after execution of removal Script)
Chart of Accounts (after execution of removal Script)
Chart of Taxes (after execution of removal Script)