Hello, I'm trying to start a new fresh chart of accounts
when I try to delete the following accounts I get this error
You cannot remove/deactivate an account which is set on a customer or vendor.
Here's the list of accounts:
- 101200 Account Receivable 
- 101300 Tax Paid 
- 111100 Account Payable 
- 111200 Tax Received 
- 200000 Product Sales 
- 220000 Expenses 
when I checked the log file I got this
odoo.sql_db: bad query: UPDATE "account_account" SET "code"='220000',"write_uid"=1,"write_date"=(now() at time zone 'UTC') WHERE id IN (68)
any help will be appreciated. Thanks
 
                        
Deprecate vs Delete Chart of Accounts in Odoo | Key Differences & Best Practices | Odoo Accounting
Confused about whether to deprecate or delete an account in Odoo? In this video, we explain the key differences between deprecating and deleting a Chart of Accounts in Odoo with real-world examples to help you make the right choice.
https://youtu.be/fRSmzNxo2dw